2020-01-28 15:52:18 +00:00
|
|
|
#ifndef __state
|
|
|
|
#define __state
|
|
|
|
|
|
|
|
#include "stdint.h"
|
|
|
|
|
2020-01-30 09:28:01 +00:00
|
|
|
enum class Direction
|
|
|
|
{
|
|
|
|
None = 0,
|
|
|
|
Up = 1,
|
|
|
|
Down = 2
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct StateContainer
|
|
|
|
{
|
|
|
|
uint32_t CurrentTime;
|
|
|
|
uint16_t CurrentHeight;
|
|
|
|
|
|
|
|
Direction MoveDirection;
|
|
|
|
uint16_t MoveTarget;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern StateContainer State;
|
2020-01-28 15:52:18 +00:00
|
|
|
|
|
|
|
#endif
|