Méthode | Description | |
---|---|---|
AddInventoryItem ( Item item ) : void | ||
ClearInventory ( ) : void | ||
Draw ( RenderTarget target ) : void | ||
DrawInventory ( |
||
GetInventoryItem ( int slotNum ) : Item | ||
GetInventoryItem ( int invenX, int invenY ) : Item | ||
MouseCordToSlotNum ( int mouseX, int mouseY ) : int | ||
Move ( int newX, int newY, Directions direction ) : void | ||
Player ( |
||
TryDropInventoryItem ( int mouseX, int mouseY ) : void | ||
TryMove ( ) : void | ||
Update ( GameTime gameTime ) : void | ||
Warp ( int newX, int newY, Directions direction ) : void |
Méthode | Description | |
---|---|---|
SendMovement ( int x, int y, Directions direction ) : void |
public AddInventoryItem ( Item item ) : void | ||
item | Item | |
Résultat | void |
public DrawInventory ( |
||
window | ||
Résultat | void |
public GetInventoryItem ( int slotNum ) : Item | ||
slotNum | int | |
Résultat | Item |
public GetInventoryItem ( int invenX, int invenY ) : Item | ||
invenX | int | |
invenY | int | |
Résultat | Item |
public MouseCordToSlotNum ( int mouseX, int mouseY ) : int | ||
mouseX | int | |
mouseY | int | |
Résultat | int |
public Move ( int newX, int newY, Directions direction ) : void | ||
newX | int | |
newY | int | |
direction | Directions | |
Résultat | void |
public Player ( |
||
texture | ||
position | Vector2i | |
Résultat | System.Collections.Generic |
public TryDropInventoryItem ( int mouseX, int mouseY ) : void | ||
mouseX | int | |
mouseY | int | |
Résultat | void |
public Warp ( int newX, int newY, Directions direction ) : void | ||
newX | int | |
newY | int | |
direction | Directions | |
Résultat | void |