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

randomerUnit Class Reference

A unit that moves in random directions for every step. More...

#include <unit.h>

Inheritance diagram for randomerUnit:

Inheritance graph
[legend]
Collaboration diagram for randomerUnit:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 randomerUnit (int _x, int _y)
 randomerUnit (int _x, int _y, int _r, int _g, int _b)
tDirection makeMove (mapProvider *, reservationProvider *, simulationInfo *)
 The new makeMove only gives a map.

virtual const char * getName ()

Detailed Description

A unit that moves in random directions for every step.


Constructor & Destructor Documentation

randomerUnit::randomerUnit int  _x,
int  _y
[inline]
 

randomerUnit::randomerUnit int  _x,
int  _y,
int  _r,
int  _g,
int  _b
[inline]
 


Member Function Documentation

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

Reimplemented from unit.

tDirection randomerUnit::makeMove mapProvider ,
reservationProvider ,
simulationInfo
[inline, virtual]
 

The new makeMove only gives a map.

The unit simulation won't calculate an mapAbstraction unless it has to. Thus, in simple pathfinding tests, the overhead is saved.

Reimplemented from unit.


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