Реструктуризация проекта
This commit is contained in:
17
include/game.h
Normal file
17
include/game.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "player.h"
|
||||
#pragma once
|
||||
|
||||
class Game {
|
||||
public:
|
||||
void run();
|
||||
|
||||
private:
|
||||
bool isRunning = true;
|
||||
Player player;
|
||||
|
||||
void showMainMenu();
|
||||
void processCommand();
|
||||
void render();
|
||||
};
|
||||
|
||||
#pragma once
|
||||
Reference in New Issue
Block a user