Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
SendMovement ( int x, int y, Directions direction ) : void |
public AddInventoryItem ( Item item ) : void | ||
item | Item | |
Результат | void |
public Draw ( RenderTarget target ) : void | ||
target | RenderTarget | |
Результат | void |
public DrawInventory ( |
||
window | ||
Результат | void |
public GetInventoryItem ( int slotNum ) : Item | ||
slotNum | int | |
Результат | Item |
public GetInventoryItem ( int invenX, int invenY ) : Item | ||
invenX | int | |
invenY | int | |
Результат | Item |
public MouseCordToSlotNum ( int mouseX, int mouseY ) : int | ||
mouseX | int | |
mouseY | int | |
Результат | int |
public Move ( int newX, int newY, Directions direction ) : void | ||
newX | int | |
newY | int | |
direction | Directions | |
Результат | void |
public Player ( |
||
texture | ||
position | Vector2i | |
Результат | System.Collections.Generic |
public TryDropInventoryItem ( int mouseX, int mouseY ) : void | ||
mouseX | int | |
mouseY | int | |
Результат | void |
public Update ( GameTime gameTime ) : void | ||
gameTime | GameTime | |
Результат | void |
public Warp ( int newX, int newY, Directions direction ) : void | ||
newX | int | |
newY | int | |
direction | Directions | |
Результат | void |