2015-04-29 15:40:08 +04:00
|
|
|
#ifndef DEF_CELL
|
|
|
|
#define DEF_CELL
|
|
|
|
|
2015-04-29 15:42:41 +04:00
|
|
|
/* Cell.h
|
2015-04-29 15:40:08 +04:00
|
|
|
* Defines the class Cell
|
|
|
|
* A cell represents a cell in the grid
|
|
|
|
* Creators : krilius, manzerbredes
|
|
|
|
* Date : 29/04/2015 */
|
|
|
|
|
|
|
|
#include <iostream>
|
2015-04-29 15:42:41 +04:00
|
|
|
#include <string>
|
2015-04-29 15:40:08 +04:00
|
|
|
|
|
|
|
class Cell
|
|
|
|
{
|
2015-04-29 15:42:41 +04:00
|
|
|
private:
|
|
|
|
std::string m_value;
|
|
|
|
|
|
|
|
public:
|
|
|
|
Cell();
|
|
|
|
Cell(std::string value);
|
|
|
|
~Cell();
|
|
|
|
|
|
|
|
// Describes the cell in a terminal
|
2015-04-29 20:52:18 +04:00
|
|
|
std::string description();
|
2015-04-29 15:42:41 +04:00
|
|
|
|
2015-04-29 15:40:08 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|