blob: badd0702712e894ba9166f6a739d067067b4162e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef DEF_CELL
#define DEF_CELL
/* Cell.h
* Defines the class Cell
* A cell represents a cell in the grid
* Creators : krilius, manzerbredes
* Date : 29/04/2015 */
#include <iostream>
#include <string>
class Cell
{
private:
std::string m_value;
public:
Cell();
Cell(std::string value);
~Cell();
bool isEmpty();
bool equals(Cell * otherCell);
std::string getValue();
// Describes the cell in a terminal
std::string description();
};
#endif
|