HOG2
Public Member Functions | List of all members
rewardUnit Class Reference

#include <RewardUnit.h>

Inheritance diagram for rewardUnit:
Inheritance graph
[legend]
Collaboration diagram for rewardUnit:
Collaboration graph
[legend]

Public Member Functions

 rewardUnit (int x, int y)
 
virtual const char * GetName ()
 
virtual double sendReward ()
 
virtual void receiveReward (double)
 
void OpenGLDraw (const MapProvider *, const SimulationInfo *) const
 

Detailed Description

Definition at line 19 of file RewardUnit.h.

Constructor & Destructor Documentation

◆ rewardUnit()

rewardUnit::rewardUnit ( int  x,
int  y 
)

Definition at line 14 of file RewardUnit.cpp.

Member Function Documentation

◆ GetName()

virtual const char* rewardUnit::GetName ( )
inlinevirtual

Reimplemented in rewardSeekingUnit.

Definition at line 22 of file RewardUnit.h.

◆ OpenGLDraw()

void rewardUnit::OpenGLDraw ( const MapProvider mp,
const SimulationInfo  
) const

Definition at line 20 of file RewardUnit.cpp.

References MapProvider::GetMap(), and Map::GetOpenGLCoord().

◆ receiveReward()

virtual void rewardUnit::receiveReward ( double  )
inlinevirtual

Reimplemented in rewardSeekingUnit.

Definition at line 24 of file RewardUnit.h.

◆ sendReward()

virtual double rewardUnit::sendReward ( )
inlinevirtual

Definition at line 23 of file RewardUnit.h.


The documentation for this class was generated from the following files: