20 lines
307 B
C++
20 lines
307 B
C++
#ifndef HW4_PLAYER_H
|
|
#define HW4_PLAYER_H
|
|
|
|
#include "board.h"
|
|
|
|
class Player {
|
|
private:
|
|
char name;
|
|
|
|
public:
|
|
Player(char name){
|
|
this->name = name;
|
|
}
|
|
virtual void selectLineLocation(Board& board, int& row, int& col) = 0;
|
|
virtual char getName() const = 0;
|
|
};
|
|
|
|
|
|
#endif //HW4_PLAYER_H
|