Method | Description | |
---|---|---|
EquipmentPanel ( Microsoft.Xna.Framework.Game game, string title, int x, int y, |
Creates an EquipmentPanel that can be expanded and hidden by being clicked on by the user.
|
|
Update ( |
Method | Description | |
---|---|---|
ActOnDirectClick ( int x, int y ) : void |
Method | Description | |
---|---|---|
GetSlotType ( int index ) : string | ||
UpdateInventory ( ) : void |
protected ActOnDirectClick ( int x, int y ) : void | ||
x | int | |
y | int | |
return | void |
public EquipmentPanel ( Microsoft.Xna.Framework.Game game, string title, int x, int y, |
||
game | Microsoft.Xna.Framework.Game | The current Game object. |
title | string | The title to display at the top. |
x | int | The top-left x-coordinate of the EquipmentPanel when hidden. |
y | int | The top-left y-coordinate of the EquipmentPanel when hidden. |
inv | The inventory to show equipment from. | |
slots | int | The indexes (slots) of the inventory to visualize. |
return | System |
public Update ( |
||
gameTime | ||
return | void |