BuildData.h
The ImageSet bitmap PlayerData constructor. | |
The OpenGL-rendered bitmap BuildData constructor. | |
The row index on screen the BuildData should be in. | |
The priority of the BuildData within its row. | |
The image key group. | |
The image name. | |
The IGameObject used to render the BuildData. | |
The IDrawObject used to render the BuildData in OpenGL. |
|
The ImageSet bitmap PlayerData constructor. Creates a PlayerData that uses the given ImageSet image key and image name to create its screen bitmap.
| row | The index of the BuildUI row the BuildData should be in on screen. |
| priority | The priority of the BuildData within its row. |
| logic | The name of the ILogic that determines if the BuildUI can be shown. |
| rule | The name of the IRule to execute when the BuildUI is clicked. |
| imageKey | The ImageSet image group key of the bitmap of the PlayerData. |
| imageName | The image name within the group given by the image key. |
|
The OpenGL-rendered bitmap BuildData constructor. Creates a BuildData that uses the given IGameObject and IDrawObject to create its screen bitmap.
| row | The index of the BuildUI row the BuildData should be in on screen. |
| priority | The priority of the BuildData within its row. |
| logic | The name of the ILogic that determines if the BuildUI can be shown. |
| rule | The name of the IRule to execute when the BuildUI is clicked. |
| gameObject | The IGameObject representing the type of model to draw. |
| drawObject | The IDrawObject that renders the IGameObject in OpenGL. |
| wxString mImageKey |
The image key group. If the value is not empty, the BuildData is assumed to be using the IImageEngine and an ImageSet to produce its screen bitmap. If empty, the OpenGL fields are used.
| wxString mImageName |
The image name. Used in conjunction with the image key to retrieve the screen bitmap image from an ImageSet within the IImageEngine.
| GameObjectPtr mGameObject |
The IGameObject used to render the BuildData. An IDrawObject must always have an IGameObject to refer to when it renders itself in OpenGL.
| DrawObjectPtr mDrawObject |
The IDrawObject used to render the BuildData in OpenGL.
|
| wxInt32 mRow |
| wxInt32 mPriority |
| wxString mLogic |
| wxString mRule |
| wxString mImageKey |
| wxString mImageName |
| GameObjectPtr mGameObject |
| DrawObjectPtr mDrawObject |