lab.cpp/Chess/dep/Grid.h

37 lines
677 B
C
Raw Normal View History

2016-03-06 21:51:07 +00:00
#ifndef DEF_GRID
#define DEF_GRID
/* [1] Libs
=========================================================*/
/* (1) Internes */
#include <iostream>
#include <string>
#include <vector>
/* (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<Cell> _cells;
};
/* [n] Inclusion du corps
=========================================================*/
#include "Grid.cpp"
#endif