parent
d0ccca886c
commit
201e2db71a
@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
#include "Player.h"
|
||||
#include "AI.h"
|
||||
class ChessGame
|
||||
{
|
||||
//添加数据成员
|
||||
private:
|
||||
Player* player;
|
||||
AI* ai;
|
||||
Chess* chess;
|
||||
public:
|
||||
ChessGame(Player* player, AI* ai, Chess* chess);
|
||||
//开始对局
|
||||
void play();
|
||||
|
||||
|
||||
};
|
||||
|
Loading…
Reference in new issue