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/Butin/PieceButin.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
286 B
C++

#pragma once
#include "../Piece.hpp"
struct PieceButin : public Piece {
enum Categorie {
Jaune = 1,
Rouge = 2,
Noire = 3,
};
PieceButin(const enum Categorie);
virtual ~PieceButin();
private:
int points;
std::string to_string(const enum Categorie) const;
};