PROTO::KLUDGE  0.1
Quick prototyping library for games using SDL and OpenGL.
CharacterSelectScreen.hpp
Go to the documentation of this file.
1 #ifndef CHARACTERSELECTSCREEN_HPP
2 #define CHARACTERSELECTSCREEN_HPP
3 
4 #include "core/Game.hpp"
5 #include "states/ScreenState.hpp"
6 
7 namespace pk
8 {
9 
11 {
12  public:
14  virtual ~CharacterSelectScreen();
15 
17  {
21  };
22 
27  void display() override;
28 
34  virtual bool isRunning() override { return m_running; };
35 
36  private:
37  bool m_running;
38  Mix_Music* m_music;
39 };
40 
41 }
42 
43 #endif // CHARACTERSELECTSCREEN_HPP
Definition: CharacterSelectScreen.hpp:10
Definition: Game.hpp:7
virtual bool isRunning() override
Check if CharacterSelectScreen is running.
Definition: CharacterSelectScreen.hpp:34
characterSelectState
Definition: CharacterSelectScreen.hpp:16
Mix_Music * m_music
Definition: CharacterSelectScreen.hpp:38
Definition: CharacterSelectScreen.hpp:20
void display() override
Display the CharacterSelectScreen state in the window.
bool m_running
Definition: CharacterSelectScreen.hpp:34
Definition: CharacterSelectScreen.hpp:19
Abstract class for screen states, necessary for implementing the State pattern along with the Game cl...
Definition: ScreenState.hpp:14
Definition: CharacterSelectScreen.hpp:18