You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#ifndef GAME_H
|
|
#define GAME_H
|
|
|
|
#include "Player.h"
|
|
|
|
class Game {
|
|
private:
|
|
std::vector<Player> players;
|
|
// 其他成员变量...
|
|
|
|
public:
|
|
void addPlayer(const Player& player);
|
|
bool isGameOver() const;
|
|
void endGame();
|
|
};
|
|
|
|
#endif |