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/Butin/PieceButin.hpp

26 lines
422 B
C++
Raw Normal View History

#pragma once
2023-12-01 15:26:34 +01:00
#include "../Piece.hpp"
2023-12-28 19:55:50 +01:00
#include "Butin.hpp"
2023-12-01 15:26:34 +01:00
struct PieceButin : public Piece {
2023-12-28 19:55:50 +01:00
friend Butin;
enum Categorie {
Jaune = 1,
Rouge = 2,
Noire = 3,
};
2023-12-01 15:26:34 +01:00
2023-12-29 02:09:11 +01:00
PieceButin(const enum Categorie, const int x, const int y);
2023-12-01 15:26:34 +01:00
virtual ~PieceButin();
2023-12-28 22:05:00 +01:00
// Couleur sur l'écran
sf::Color getScreenColor() const override;
private:
int points;
std::string to_string(const enum Categorie) const;
2023-12-01 15:26:34 +01:00
};