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/Safari/PieceSafari.hpp

22 lines
381 B
C++
Raw Normal View History

2023-12-10 15:03:07 +01:00
#pragma once
#include "../Piece.hpp"
2023-12-10 15:03:07 +01:00
struct PieceSafari : public Piece {
enum Categorie {
Barriere,
Elephant,
Rhinoceros,
Lion,
};
2023-12-29 02:09:11 +01:00
PieceSafari(const enum Categorie, const int x, const int y);
2023-12-10 15:03:07 +01:00
virtual ~PieceSafari();
2023-12-28 22:05:00 +01:00
// Couleur sur l'écran
sf::Color getScreenColor() const override;
private:
std::string to_string(const enum Categorie) const;
2023-12-13 12:01:59 +01:00
};