This repository has been archived on 2019-04-23. You can view files and clone it, but cannot push or open issues or pull requests.
2048/src/case.cpp

39 lines
317 B
C++

#include "../inc/header.h"
Case::Case()
{
value = 0;
state = EMPTY;
}
unsigned int Case::getValue(void) const
{
return value;
}
State Case::getState(void) const
{
return state;
}
void Case::setValue(unsigned int v)
{
value = v;
}
void Case::setState(State s)
{
state = s;
}
Case::~Case()
{
/* */
}