Wing 323 - Gamepad Version
V1.0
|
A basic inventory item. An inventory can be picked up and placed in the player's inventory for later use in the game. More...
Public Member Functions | |
void | Start () |
Initialises the inventory item's attributes. | |
string | getItemName () |
Get's the item's name. | |
Texture2D | getItemImage () |
Get's the item's image (an image of the inventory item). | |
string | toString () |
Returns a formatted string of the item's name. | |
Protected Attributes | |
string | m_itemName |
Texture2D | m_itemImage |
A basic inventory item. An inventory can be picked up and placed in the player's inventory for later use in the game.
Texture2D InventoryItem::getItemImage | ( | ) | [inline] |
Get's the item's image (an image of the inventory item).
string InventoryItem::getItemName | ( | ) | [inline] |
Get's the item's name.
string InventoryItem::toString | ( | ) | [inline] |
Returns a formatted string of the item's name.