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
393 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
2023-12-31 04:59:45 +01:00
const sf::Color getScreenColor() const override;
2023-12-28 22:05:00 +01:00
private:
2023-12-31 04:59:45 +01:00
const std::string to_string(const enum Categorie) const;
2023-12-13 12:01:59 +01:00
};