diff options
Diffstat (limited to 'src/Model/Cell.cpp')
| -rw-r--r-- | src/Model/Cell.cpp | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/Model/Cell.cpp b/src/Model/Cell.cpp deleted file mode 100644 index ba4bbbd..0000000 --- a/src/Model/Cell.cpp +++ /dev/null @@ -1,44 +0,0 @@ -#include "Cell.hpp" - -// Constructors - -Cell::Cell() -{ - m_value = "."; -} - -Cell::Cell(std::string value) -{ - m_value = value; -} - -// Destructor - -Cell::~Cell() -{ -} - -// Getters and setters - -bool Cell::isEmpty() -{ - return (m_value == "."); -} - -std::string Cell::getValue() -{ - return m_value; -} - -bool Cell::equals(Cell *otherCell) -{ - return (m_value == otherCell->getValue()); -} - -// Description - -std::string Cell::description() -{ - return m_value; -} - |
