您最多能選擇 25 個主題
主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
25 行
325 B
25 行
325 B
#ifndef MAINMENU_H |
|
#define MAINMENU_H |
|
|
|
#include <memory> |
|
|
|
#include "gamestate.h" |
|
|
|
class Player; |
|
class Window; |
|
|
|
class MainMenu : public GameState |
|
{ |
|
public: |
|
void initialize(); |
|
void update(); |
|
void render(); |
|
void destroy(); |
|
|
|
private: |
|
bool titleScreen; |
|
Window *window; |
|
Player **player; |
|
}; |
|
|
|
#endif // MAINMENU_H
|
|
|