Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Inventory Class Reference

#include <Inventory.h>

Inheritance diagram for Inventory:

[legend]
Collaboration diagram for Inventory:
[legend]
List of all members.

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

Constructor & Destructor Documentation

Inventory::Inventory (    ) 
 

Inventory::Inventory (  int    condition,
int    value
) 
 

Inventory::~Inventory (    )  [virtual]
 


Member Function Documentation

void Inventory::calculateValue (    ) 
 

Reimplemented in Baseball, Basketball, Football, Hammer, Lamp, Skateboard, Soccerball, and Umbrella.

vector< Animation > Inventory::getActionAnimations (    )  [inline]
 

int Inventory::getAnimation (    )  [inline]
 

int Inventory::getCondition (    )  [inline]
 

vector< Animation > Inventory::getMovementAnimations (    )  [inline]
 

int Inventory::getRandomValue (  int    low,
int    high
) 
 

vector< Animation > Inventory::getStillAnimations (    )  [inline]
 

int Inventory::getValue (    )  [inline]
 

bool Inventory::hasAnimation (    )  [inline]
 

deprecated

void Inventory::setCondition (  int    c )  [inline]
 

void Inventory::setValue (  int    t )  [inline]
 


Member Data Documentation

vector<Animation> Inventory::_actionAnimations [protected]
 

int Inventory::_animation [protected]
 

int Inventory::_condition [protected]
 

bool Inventory::_hasAnimation [protected]
 

deprecated

vector<Animation> Inventory::_movementAnimations [protected]
 

vector<Animation> Inventory::_stillAnimations [protected]
 

int Inventory::_value [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Apr 21 11:11:10 2004 for naturecalls by doxygen1.2.18