A State that contains and runs the Demo.
More...
#include <Assignment1Demo.h>
A State that contains and runs the Demo.
◆ Assignment1Demo()
Assignment1Demo::Assignment1Demo |
( |
StateManager * |
stateManager, |
|
|
SDL_Window * |
window |
|
) |
| |
Constructs the State object.
- Parameters
-
stateManager | A pointer to the StateManager. |
window | A pointer to the window in use. |
◆ ~Assignment1Demo()
Assignment1Demo::~Assignment1Demo |
( |
| ) |
|
Destructs the State object.
◆ draw()
void Assignment1Demo::draw |
( |
| ) |
|
|
virtual |
A function to draw the State to the screen.
Implements State.
◆ input()
bool Assignment1Demo::input |
( |
| ) |
|
|
virtual |
Handles the State input.
- Returns
- If false then quit the State.
Implements State.
◆ update()
void Assignment1Demo::update |
( |
| ) |
|
|
virtual |
◆ backgroundMusicID
std::string Assignment1Demo::backgroundMusicID |
|
private |
◆ escInfo
std::string Assignment1Demo::escInfo |
|
private |
◆ initialLoop
bool Assignment1Demo::initialLoop |
|
private |
◆ jump
bool Assignment1Demo::jump |
|
private |
◆ mousePressSoundID
std::string Assignment1Demo::mousePressSoundID |
|
private |
The mouse press sound id.
◆ quickUserGuide
std::string Assignment1Demo::quickUserGuide |
|
private |
◆ resetPos
bool Assignment1Demo::resetPos |
|
private |
◆ s1V
Vec3 Assignment1Demo::s1V |
|
private |
◆ s2V
Vec3 Assignment1Demo::s2V |
|
private |
The documentation for this class was generated from the following files: