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/PlateauSafari.hpp
2024-01-07 12:45:13 +01:00

26 lines
625 B
C++

#pragma once
#include "../Plateau.hpp"
#include "PieceSafari.hpp"
class PlateauSafari : public Plateau {
// Barrières
std::vector<PieceSafari *> barrieres;
PositionMutable placementBarriere1;
PositionMutable placementBarriere2;
public:
PlateauSafari();
virtual ~PlateauSafari();
// Initialise le plateau du Safari
void initialiserPlateau() override;
// Fonction pour afficher le plateau vers une sortie
void afficherPlateau(std::ostream &, const bool debug = false) const override;
// Vérifie que le déplacement est valide
bool deplacementValide(const int destX, const int destY) const;
};