21 lines
354 B
C++
21 lines
354 B
C++
#ifndef Player_H
|
|
#define Player_H
|
|
|
|
#include <string>
|
|
#include "../ChessPieces/ChessPieceColor.hpp"
|
|
|
|
class Player {
|
|
private:
|
|
ChessPieceColor _color;
|
|
std::string _name;
|
|
|
|
public:
|
|
Player() = default;
|
|
Player(std::string name);
|
|
ChessPieceColor GetColor();
|
|
std::string GetName();
|
|
void SetColor(ChessPieceColor color);
|
|
};
|
|
|
|
#endif
|