]> git.localhorst.tv Git - l2e.git/blob - src/menu/StatusMenu.h
465c7c41bc7eb74e78e9934fe2944d4349316bb2
[l2e.git] / src / menu / StatusMenu.h
1 /*
2  * StatusMenu.h
3  *
4  *  Created on: Oct 22, 2012
5  *      Author: holy
6  */
7
8 #ifndef MENU_STATUSMENU_H_
9 #define MENU_STATUSMENU_H_
10
11 #include "fwd.h"
12 #include "../app/State.h"
13
14 namespace menu {
15
16 class StatusMenu
17 : public app::State {
18
19 public:
20         explicit StatusMenu(PartyMenu *parent);
21
22 public:
23         virtual void HandleEvents(const app::Input &);
24         virtual void UpdateWorld(float deltaT);
25         virtual void Render(SDL_Surface *);
26
27 private:
28         virtual void OnEnterState(SDL_Surface *screen);
29         virtual void OnExitState(SDL_Surface *screen);
30         virtual void OnResumeState(SDL_Surface *screen);
31         virtual void OnPauseState(SDL_Surface *screen);
32
33         virtual void OnResize(int width, int height);
34
35 private:
36         PartyMenu *parent;
37
38 };
39
40 }
41
42 #endif /* MENU_STATUSMENU_H_ */