A base class for objects that sit on hexes directly. There are several GameObjects such as the robber, pirate, merchant, etc., which sit on a hex directly. HexObject provides a base class for them all since they share much in common.
HexObject.h
A base class for objects that sit on hexes directly. | |
The HexObject destructor. | |
Sets the tile the object is on. | |
Returns the tile the object is on. | |
Loads a HexObject from an input stream. | |
Writes a HexObject to an output stream. | |
The HexObject constructor. | |
The tile the object is on. |
| virtual ~HexObject()=0 |
|
|
|
|
| wxInt32 mTile |