Mylloon
bf74632047
* add const identifiers * expose category for children * documentation * helper for ignoring arguments * reduce useless imports * use enum for categories * refactor Dames instanciation
18 lines
283 B
C++
18 lines
283 B
C++
#pragma once
|
|
|
|
#include "../Piece.hpp"
|
|
|
|
struct PieceSafari : public Piece {
|
|
enum Categorie {
|
|
Barriere,
|
|
Elephant,
|
|
Rhinoceros,
|
|
Lion,
|
|
};
|
|
|
|
PieceSafari(const enum Categorie);
|
|
virtual ~PieceSafari();
|
|
|
|
private:
|
|
std::string to_string(const enum Categorie) const;
|
|
};
|