| 1 |
// NS_Menu_Game.h: interface for the NS_Menu_Game class. |
| 2 |
// |
| 3 |
////////////////////////////////////////////////////////////////////// |
| 4 |
|
| 5 |
#if !defined(AFX_NS_MENU_GAME_H__C4BBA54B_4EE0_400B_91AA_44F8E55F6955__INCLUDED_) |
| 6 |
#define AFX_NS_MENU_GAME_H__C4BBA54B_4EE0_400B_91AA_44F8E55F6955__INCLUDED_ |
| 7 |
|
| 8 |
#if _MSC_VER > 1000 |
| 9 |
#pragma once |
| 10 |
#endif // _MSC_VER > 1000 |
| 11 |
|
| 12 |
#include "NS_MenuGeneric.h" |
| 13 |
#include <list> |
| 14 |
|
| 15 |
class CL_Sprite; |
| 16 |
|
| 17 |
class NS_Menu_Game : public NS_MenuGeneric |
| 18 |
{ |
| 19 |
public: |
| 20 |
NS_Menu_Game(NS_MenuManager & menu_manager, |
| 21 |
CL_StyleManager & style_manager, |
| 22 |
std::string const & path_to_resource); |
| 23 |
virtual ~NS_Menu_Game(); |
| 24 |
public: |
| 25 |
void on_begin_paint(); |
| 26 |
void on_switch_to_main_menu(); |
| 27 |
|
| 28 |
// virtual functions |
| 29 |
virtual void run_task(); |
| 30 |
public: |
| 31 |
void on_quit(); |
| 32 |
void switch_to(std::string const & menu_name); |
| 33 |
private: |
| 34 |
CL_Sprite * back_ground; |
| 35 |
bool is_need_update; |
| 36 |
}; |
| 37 |
|
| 38 |
#endif // !defined(AFX_NS_MENU_GAME_H__C4BBA54B_4EE0_400B_91AA_44F8E55F6955__INCLUDED_) |