A State that contains and runs the Demo.
More...
#include <HeightmapDemo.h>
A State that contains and runs the Demo.
◆ HeightmapDemo()
HeightmapDemo::HeightmapDemo |
( |
StateManager * |
stateManager, |
|
|
SDL_Window * |
window |
|
) |
| |
Constructs the State object.
- Parameters
-
stateManager | A pointer to the StateManager. |
window | A pointer to the window in use. |
◆ ~HeightmapDemo()
HeightmapDemo::~HeightmapDemo |
( |
| ) |
|
Destructs the State object.
◆ draw()
void HeightmapDemo::draw |
( |
| ) |
|
|
virtual |
A function to draw the State to the screen.
Implements State.
◆ input()
bool HeightmapDemo::input |
( |
| ) |
|
|
virtual |
Handles the State input.
- Returns
- If false then quit the State.
Implements State.
◆ update()
void HeightmapDemo::update |
( |
| ) |
|
|
virtual |
◆ backgroundMusicID
std::string HeightmapDemo::backgroundMusicID |
|
private |
◆ cameraToggle
bool HeightmapDemo::cameraToggle |
|
private |
A boolean for camera toggle.
◆ defaultCameraPos
Vec3 HeightmapDemo::defaultCameraPos |
|
private |
The default camera position.
◆ defaultCameraRotation
Vec3 HeightmapDemo::defaultCameraRotation |
|
private |
The default camera rotation.
◆ heightmapImageID
std::string HeightmapDemo::heightmapImageID |
|
private |
◆ helpID
std::string HeightmapDemo::helpID |
|
private |
◆ helpToggle
bool HeightmapDemo::helpToggle |
|
private |
A boolean for help toggle.
◆ initialLoop
bool HeightmapDemo::initialLoop |
|
private |
◆ UIImageID
std::string HeightmapDemo::UIImageID |
|
private |
The documentation for this class was generated from the following files: