2 #ifndef SHARED__CONTROLPAWN__H
3 #define SHARED__CONTROLPAWN__H
7 #include <boost/serialization/access.hpp>
8 #include <boost/serialization/vector.hpp>
10 #include "ElementEnum.hpp"
18 bool reinforced =
false;
19 std::array<unsigned,2> position;
22 friend class boost::serialization::access ;
26 ControlPawn (std::array<unsigned, 2> position, std::string player);
27 ElementEnum getType ();
28 std::array<unsigned,2> getPosition ();
29 std::string getPlayerName ();
30 void setReinforced ();
31 void setNotReinforced ();
35 template<
class Archive>
void serialize (Archive& ar,
const unsigned int version);
class ControlPawn -
Definition: ControlPawn.hpp:15