Property | Type | Description | |
---|---|---|---|
equippedBoxes | List |
||
infoBox | |||
locationBoxes | List |
||
movingBox | |||
tempStorage | Item | ||
types | List |
Property | Type | Description | |
---|---|---|---|
inventorySelector | Microsoft.Xna.Framework.Graphics.Texture2D | ||
nullImage | Microsoft.Xna.Framework.Graphics.Texture2D | ||
trashBox | |||
trashCan | Microsoft.Xna.Framework.Graphics.Texture2D | ||
trashColor | Color |
Method | Description | |
---|---|---|
Draw ( |
||
Inventory ( int SCREEN_WIDTH, int SCREEN_HEIGHT, |
||
Move ( |
Moves item in iventory from one slot to another
|
Method | Description | |
---|---|---|
SetBoxes ( ) : void |
Basically hardcodes the different square areas for item's HUDrepresentation to go.
|
public Draw ( |
||
spriteBatch | ||
Font | ||
return | void |
public Inventory ( int SCREEN_WIDTH, int SCREEN_HEIGHT, |
||
SCREEN_WIDTH | int | |
SCREEN_HEIGHT | int | |
gameReference | ||
return | System |
public Move ( |
||
gameReference | ||
return | void |
public Rectangle,Microsoft.Xna.Framework infoBox | ||
return |
protected Texture2D,Microsoft.Xna.Framework.Graphics inventorySelector | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public Rectangle,Microsoft.Xna.Framework movingBox | ||
return |
protected Texture2D,Microsoft.Xna.Framework.Graphics nullImage | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |
protected Rectangle,Microsoft.Xna.Framework trashBox | ||
return |
protected Texture2D,Microsoft.Xna.Framework.Graphics trashCan | ||
return | Microsoft.Xna.Framework.Graphics.Texture2D |