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
Mylloon bf74632047
update
* add const identifiers
* expose category for children
* documentation
* helper for ignoring arguments
* reduce useless imports
* use enum for categories
* refactor Dames instanciation
2023-12-14 17:09:27 +01:00

19 lines
299 B
C++

#pragma once
#include "../Piece.hpp"
struct PieceDames : public Piece {
enum Categorie {
Blanche,
Noire,
};
PieceDames(const enum Categorie);
virtual ~PieceDames();
private:
// True si la piece est une dame
bool dame;
std::string to_string(const enum Categorie) const;
};