21 lines
393 B
C++
21 lines
393 B
C++
#pragma once
|
|
|
|
#include "../Piece.hpp"
|
|
|
|
struct PieceSafari : public Piece {
|
|
enum Categorie {
|
|
Barriere,
|
|
Elephant,
|
|
Rhinoceros,
|
|
Lion,
|
|
};
|
|
|
|
PieceSafari(const enum Categorie, const int x, const int y);
|
|
virtual ~PieceSafari();
|
|
|
|
// Couleur sur l'écran
|
|
const sf::Color getScreenColor() const override;
|
|
|
|
private:
|
|
const std::string to_string(const enum Categorie) const;
|
|
};
|