4 #include "../StateManager.h" 5 #include "../../Maths/Vec3.h" Creates a State object to be inherited.
Definition: State.h:13
std::string escInfo
The demo info.
Definition: Assignment1Demo.h:53
Assignment1Demo(StateManager *stateManager, SDL_Window *window)
Constructs the State object.
Definition: Assignment1Demo.cpp:21
Creates a StateManager object.
Definition: StateManager.h:9
StateManager * stateManager
A pointer to the state manager.
Definition: State.h:64
std::string mousePressSoundID
The mouse press sound id.
Definition: Assignment1Demo.h:47
A State that contains and runs the Demo.
Definition: Assignment1Demo.h:12
SDL_Window * window
The window to display to.
Definition: State.h:66
Contains the Vec3 structure with functions and overloaded operators.
Definition: Vec3.h:8
std::string quickUserGuide
Definition: Assignment1Demo.h:54
std::string backgroundMusicID
The background music id.
Definition: Assignment1Demo.h:45
bool resetPos
Definition: Assignment1Demo.h:51
Vec3 s2V
Definition: Assignment1Demo.h:49
bool input()
Handles the State input.
Definition: Assignment1Demo.cpp:174
bool initialLoop
Other bools.
Definition: Assignment1Demo.h:51
void update()
A function to update the State.
Definition: Assignment1Demo.cpp:257
bool jump
Definition: Assignment1Demo.h:51
~Assignment1Demo()
Destructs the State object.
Definition: Assignment1Demo.cpp:166
Vec3 s1V
The sphere velocities.
Definition: Assignment1Demo.h:49
void draw()
A function to draw the State to the screen.
Definition: Assignment1Demo.cpp:380