![]() |
PROTO::KLUDGE
0.1
Quick prototyping library for games using SDL and OpenGL.
|
ScreenState subclass used for the Level state. More...
#include <LevelScreen.hpp>
Public Types | |
enum | levelState { s_uninitialized, s_running, s_menu, s_exit } |
Public Member Functions | |
LevelScreen () | |
Default constructor. More... | |
LevelScreen (Uint32 level) | |
Construct from a selected level. More... | |
virtual | ~LevelScreen () |
void | display () override |
Display the menu screen state in the window. More... | |
virtual bool | isRunning () override |
Check if MenuScreen is running. More... | |
![]() | |
ScreenState () | |
Default constructor. More... | |
virtual | ~ScreenState () |
Uint32 | getState () |
Get the internal state of the ScreenState. More... | |
void | setState (Uint32 state) |
Set the internal state of the ScreenState. More... | |
Private Attributes | |
bool | m_running |
pk::HUD * | m_hud |
Mix_Music * | m_music |
Uint32 | m_levelToLoad |
pk::Arena * | m_spikes |
ScreenState subclass used for the Level state.
LevelScreen::LevelScreen | ( | ) |
Default constructor.
LevelScreen::LevelScreen | ( | Uint32 | level | ) |
Construct from a selected level.
|
virtual |
|
overridevirtual |
Display the menu screen state in the window.
Implements pk::ScreenState.
|
inlineoverridevirtual |
|
private |
|
private |
|
private |
|
private |
|
private |