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