C# Class ManicDigger.Hud.HudInventory

Afficher le fichier Open project: henon/manic_digger Class Usage Examples

Méthodes publiques

Свойство Type Description
ActiveMaterial IActiveMaterial
ActiveMaterialCellSize int
CellDrawSize int
controller IInventoryController
dataItems IGameDataItems
getfile IGetFileStream
inventory Inventory
inventoryUtil InventoryUtil
mouse_current IMouseCurrent
the3d The3d
viewport3d IViewport3dSelectedBlock
viewport_size IViewportSize

Private Properties

Свойство Type Description
DrawItem void
Offset Point
SelectedCell Point?
SelectedMaterialSelectorSlot int?
SelectedWearPlace WearPlace?

Méthodes publiques

Méthode Description
Draw ( ) : void
DrawItemInfo ( Point screenpos, System.Item item ) : void
DrawMaterialSelector ( ) : void
Mouse_ButtonDown ( object sender, MouseButtonEventArgs e ) : void
OnKeyPress ( KeyPressEventArgs e ) : void
OnRenderFrame ( FrameEventArgs e ) : void

Private Methods

Méthode Description
DrawItem ( Point screenpos, System.Item item, Point drawsize ) : void
Offset ( Point a, Point b ) : Point
SelectedCell ( Point scaledMouse ) : Point?
SelectedMaterialSelectorSlot ( Point scaledMouse ) : int?
SelectedWearPlace ( Point scaledMouse ) : WearPlace?

Method Details

Draw() public méthode

public Draw ( ) : void
Résultat void

DrawItemInfo() public méthode

public DrawItemInfo ( Point screenpos, System.Item item ) : void
screenpos Point
item System.Item
Résultat void

DrawMaterialSelector() public méthode

public DrawMaterialSelector ( ) : void
Résultat void

Mouse_ButtonDown() public méthode

public Mouse_ButtonDown ( object sender, MouseButtonEventArgs e ) : void
sender object
e OpenTK.Input.MouseButtonEventArgs
Résultat void

OnKeyPress() public méthode

public OnKeyPress ( KeyPressEventArgs e ) : void
e OpenTK.KeyPressEventArgs
Résultat void

OnRenderFrame() public méthode

public OnRenderFrame ( FrameEventArgs e ) : void
e FrameEventArgs
Résultat void

Property Details

ActiveMaterial public_oe property

public IActiveMaterial ActiveMaterial
Résultat IActiveMaterial

ActiveMaterialCellSize public_oe property

public int ActiveMaterialCellSize
Résultat int

CellDrawSize public_oe property

public int CellDrawSize
Résultat int

controller public_oe property

public IInventoryController controller
Résultat IInventoryController

dataItems public_oe property

public IGameDataItems dataItems
Résultat IGameDataItems

getfile public_oe property

public IGetFileStream getfile
Résultat IGetFileStream

inventory public_oe property

public Inventory inventory
Résultat Inventory

inventoryUtil public_oe property

public InventoryUtil inventoryUtil
Résultat InventoryUtil

mouse_current public_oe property

public IMouseCurrent mouse_current
Résultat IMouseCurrent

the3d public_oe property

public The3d the3d
Résultat The3d

viewport3d public_oe property

public IViewport3dSelectedBlock viewport3d
Résultat IViewport3dSelectedBlock

viewport_size public_oe property

public IViewportSize viewport_size
Résultat IViewportSize