This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#pragma once
#include "map.h"
#include "player.h"
#include "monster.h"
class Game
{
private:
Map wall, bean, goldBean;
Player player;
Monster monster[4];
public:
Game();
// 游戏加载
void Load();
// 游戏开始界面
void Start();
// 根据游戏胜负结果,绘制游戏结束界面
void End(bool result);
// 游戏主体循环,返回true代表玩家胜利通关,false代表玩家失败
bool Loop();
// 游戏暂停界面
void Pause();
// 非阻塞按键获取
char GetKey();
};