menu.h
来自「3D游戏模板」· C头文件 代码 · 共 31 行
H
31 行
/* game menu * Template CS game * (C)2001 Mat Sutcliffe. See license.txt for license info (GPL) */#ifndef __MENU_MAIN_H__#define __MENU_MAIN_H__#include <iutil/objreg.h>#include <iutil/event.h>#include "../game/game.h"class Menu { private: Game *game; public: bool visible; void draw(); void show(); void hide(); bool toggle(); bool HandleEvent(iEvent &); Menu(Game *, iObjectRegistry *); const char* init(); ~Menu();};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?