#ifndef DEF_GRID #define DEF_GRID /* [1] Libs =========================================================*/ /* (1) Internes */ #include #include #include /* (2) Externes */ #include "term.h" #include "Pieces/PieceFactory.h" /* (3) Namespace */ using namespace std; /* [2] Definition =========================================================*/ class Grid{ public: Grid(const int w=8, const int h=8); // GETTERS Piece pieceAt(const int x, const int y) const; private: // vector _cells; }; /* [n] Inclusion du corps =========================================================*/ #include "Grid.cpp" #endif