#include <Inventory.h>
Inheritance diagram for Inventory:
Public Methods | |
| Inventory () | |
| Inventory (int condition, int value) | |
| virtual | ~Inventory () |
| bool | hasAnimation () |
| int | getAnimation () |
| vector< Animation > | getMovementAnimations () |
| vector< Animation > | getStillAnimations () |
| vector< Animation > | getActionAnimations () |
| void | setValue (int t) |
| int | getValue () |
| void | setCondition (int c) |
| int | getCondition () |
| int | getRandomValue (int low, int high) |
| void | calculateValue () |
Protected Attributes | |
| bool | _hasAnimation |
| int | _animation |
| int | _value |
| int | _condition |
| vector< Animation > | _movementAnimations |
| vector< Animation > | _stillAnimations |
| vector< Animation > | _actionAnimations |
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
Reimplemented in Baseball, Basketball, Football, Hammer, Lamp, Skateboard, Soccerball, and Umbrella. |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
deprecated |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deprecated |
|
|
|
|
|
|
|
|
|
1.2.18