73
|
1 /*
|
|
2 * LevelOverScreen
|
|
3 */
|
|
4
|
|
5 #ifndef __LEVELOVERSCREEN_H__
|
|
6 #define __LEVELOVERSCREEN_H__
|
|
7
|
|
8 #include "Core.h"
|
|
9 #include "Screen.h"
|
|
10 #include "CameraController.h"
|
|
11 #include "GuiInterface.h"
|
|
12 #include "Dialog.h"
|
|
13
|
|
14 /*
|
|
15 * LevelOverScreen
|
|
16 */
|
|
17 class LevelOverScreen : public Screen
|
|
18 {
|
|
19 /*
|
|
20 * kCameraController
|
|
21 */
|
|
22 CameraController kCameraController;
|
|
23
|
|
24 /*
|
|
25 * kInterface
|
|
26 */
|
|
27 GuiInterface kInterface;
|
|
28
|
|
29 /*
|
|
30 * pDialog
|
|
31 */
|
|
32 MessageDialog* pDialog;
|
|
33
|
|
34 public:
|
|
35
|
|
36 /*
|
|
37 * Initialize
|
|
38 */
|
|
39 virtual ErrorCode Initialize(ServiceProvider* pServiceProvider);
|
|
40
|
|
41 /*
|
|
42 * Terminate
|
|
43 */
|
|
44 virtual void Terminate();
|
|
45
|
|
46 /*
|
|
47 * Update
|
|
48 */
|
|
49 virtual void Update(float fElapsed);
|
|
50
|
|
51 /*
|
|
52 * Render
|
|
53 */
|
|
54 virtual void Render(RenderContext& kContext);
|
|
55
|
|
56 protected:
|
|
57
|
|
58 /*
|
|
59 * OnEnter
|
|
60 */
|
|
61 virtual void OnEnter();
|
|
62
|
|
63 /*
|
|
64 * OnExit
|
|
65 */
|
|
66 virtual void OnExit();
|
|
67
|
|
68 private:
|
|
69
|
|
70 /*
|
|
71 * OnResult
|
|
72 */
|
|
73 void OnResult(GuiEventArguments& kArguments);
|
|
74 };
|
|
75
|
|
76 #endif //__LEVELOVERSCREEN_H__
|