This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues or pull requests.
DamesEtCo/includes/Dames/PieceDames.hpp

20 lines
299 B
C++
Raw Normal View History

#pragma once
2023-12-01 15:26:34 +01:00
#include "../Piece.hpp"
2023-12-01 15:26:34 +01:00
struct PieceDames : public Piece {
enum Categorie {
Blanche,
Noire,
};
PieceDames(const enum Categorie);
virtual ~PieceDames();
private:
2023-12-12 12:15:53 +01:00
// True si la piece est une dame
bool dame;
2023-12-13 12:01:59 +01:00
std::string to_string(const enum Categorie) const;
2023-12-01 15:26:34 +01:00
};