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/inc/case.h

40 lines
329 B
C++

#ifndef CASE_H
#define CASE_H
#include "header.h"
typedef enum
{
EMPTY,
FILLED
} State;
class Case
{
public:
Case();
unsigned int getValue(void) const;
State getState(void) const;
void setValue(unsigned int);
void setState(State);
~Case();
private:
unsigned int value;
State state;
};
#endif