Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef CONNECT4PLAYER_HPP
- #define CONNECT4PLAYER_HPP
- class Connect4Game;
- #include "Connect4Game.hpp"
- class Connect4Player
- {
- public:
- enum class PlayerType
- {
- Human,
- Cpu
- };
- Connect4Player(PlayerType, char);
- char getChip();
- void setChip(char);
- virtual int makeTurn() = 0;
- void attachGame(Connect4Game*);
- protected:
- PlayerType type_;
- char chip_;
- Connect4Game* attachedGame_;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement