#include "../../includes/Dames/PieceDames.hpp"
PieceDames::PieceDames(const enum Categorie cat, const int posX, const int posY)
: Piece(to_string(cat), posX, posY), dame(false) {
std::cout << "pièce - " << categorie << "\n";
}
PieceDames::~PieceDames() {}
bool PieceDames::getDame() const {
return dame;
void PieceDames::setDame(const bool d) {
dame = d;
std::string PieceDames::to_string(const enum Categorie cat) const {
switch (cat) {
case Blanche:
return "Blanche";
case Noire:
return "Noire";
default:
std::cerr << "Catégorie inconnue (PieceDames).\n";
exit(EXIT_FAILURE);
sf::Color PieceDames::getScreenColor() const {
// TODO
return sf::Color::White;