Stores game information for a port laying on top of a tile. Since the only important information for a port is what type of port it is, all other information for the PortObject is retrieved by querying its TileObject.
PortObject.h
Stores game information for a port laying on top of a tile. | |
The PortObject constructor. | |
Reads the port type value from the TileObject. | |
Resets the class name of the PortObject. | |
Provides the rotation of the PortObject. | |
Sets the rotation of the PortObject. |
The PortObject constructor. | |
Reads the port type value from the TileObject. | |
Resets the class name of the PortObject. | |
Provides the rotation of the PortObject. | |
Sets the rotation of the PortObject. |
|
The PortObject constructor.
| pTile | A pointer to the TileObject the PortObject is built on and will refer to for game data. |
| const wxString &type() const |
Reads the port type value from the TileObject. The port type is needed for rendering the chip in OpenGL with the right texture.
A string containing the type of the PortObject.
|
Sets the rotation of the PortObject. This function is not implemented. It is only declared to satisfy the requirements of IGameObject.
| val | The new rotation. |
|
| const wxString &type() const |
| virtual wxString name() |
| virtual float rotation() const |