#ifndef DEF_PAYER_H #define DEF_PAYER_H /* [1] Libs =========================================================*/ /* (1) Internes */ #include #include #include /* (2) Externes */ #include "term.h" #include "Pieces/PieceFactory.h" /* (3) Namespace */ using namespace std; /* [2] Definition =========================================================*/ class Player{ public: Player(bool first); // GETTERS bool _first; bool owns(Piece& p) const; Piece* at(const int x, const int y) ; // SETTERS void addPiece(Piece& p); void remPiece(Piece& p); void initPieces(); private: vector _pieces; vector _cimetery; }; /* [n] Inclusion du corps =========================================================*/ #include "Player.cpp" #endif