Mylloon
bf74632047
* add const identifiers * expose category for children * documentation * helper for ignoring arguments * reduce useless imports * use enum for categories * refactor Dames instanciation
19 lines
299 B
C++
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;
|
|
};
|