#include <Item.h>
|
| | Item (string Name, string FilePath, int Buff, string Description, int MaxStack) |
| | removed weights and unnessacery stuff basically, its an item like a gold bar, the amount you have of them, the weight of 1 gold bar, the maximum gold bars you can have
|
| |
| virtual | ~Item () |
| |
| void | push () |
| |
| void | pop () |
| |
| string | getName () |
| |
| string | getDescription () |
| |
| int | getBuff () |
| |
| int | getAmtHolding () |
| |
| int | getMaxStack () |
| | current amount of items we have in this stack
|
| |
| string | getFilePath () |
| |
| bool | canStack () |
| | max amount we can have
|
| |
| void | setMaxStack (int MaxStack) |
| |
◆ Item()
| Item::Item |
( |
string | Name, |
|
|
string | FilePath, |
|
|
int | Buff, |
|
|
string | Description, |
|
|
int | MaxStack ) |
removed weights and unnessacery stuff basically, its an item like a gold bar, the amount you have of them, the weight of 1 gold bar, the maximum gold bars you can have
this is a stackbale item, so instead of just 1 item, its like 20 gold bars, like minecraft
ctor
◆ ~Item()
◆ canStack()
max amount we can have
check if we reached the max amount we can stack of this item
◆ getAmtHolding()
| int Item::getAmtHolding |
( |
| ) |
|
◆ getBuff()
◆ getDescription()
| string Item::getDescription |
( |
| ) |
|
◆ getFilePath()
| string Item::getFilePath |
( |
| ) |
|
◆ getMaxStack()
| int Item::getMaxStack |
( |
| ) |
|
current amount of items we have in this stack
◆ getName()
◆ pop()
◆ push()
◆ setMaxStack()
| void Item::setMaxStack |
( |
int | MaxStack | ) |
|
The documentation for this class was generated from the following files: