Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

rewardUnit Class Reference

#include <rewardUnit.h>

Inheritance diagram for rewardUnit:

Inheritance graph
[legend]
Collaboration diagram for rewardUnit:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 rewardUnit (int x, int y)
virtual const char * getName ()
virtual double sendReward ()
virtual void receiveReward (double)
void openGLDraw (mapProvider *, simulationInfo *)
 Draw the unit.


Constructor & Destructor Documentation

rewardUnit::rewardUnit int  x,
int  y
 


Member Function Documentation

virtual const char* rewardUnit::getName  )  [inline, virtual]
 

Reimplemented from unit.

Reimplemented in rewardSeekingUnit.

void rewardUnit::openGLDraw mapProvider mp,
simulationInfo
[virtual]
 

Draw the unit.

Draw the unit using openGL. Overload this if you want a custom look for the unit.

Reimplemented from unit.

Reimplemented in rewardSeekingUnit.

virtual void rewardUnit::receiveReward double   )  [inline, virtual]
 

Reimplemented in rewardSeekingUnit.

virtual double rewardUnit::sendReward  )  [inline, virtual]
 


The documentation for this class was generated from the following files:
Generated on Tue Aug 18 03:45:28 2009 for HOG by doxygen 1.3.4