2016-12-04 18:53:43 +00:00
|
|
|
#ifndef StateLoseTheGame_h
|
|
|
|
#define StateLoseTheGame_h
|
|
|
|
|
2016-12-05 22:42:20 +00:00
|
|
|
#include "Arduino.h"
|
2016-12-04 18:53:43 +00:00
|
|
|
#include "StateHandler.h"
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Lose the game state
|
2016-12-05 22:42:20 +00:00
|
|
|
*
|
|
|
|
* Note that the animation in this state is hardcoded
|
|
|
|
* to 6 digits.
|
2016-12-04 18:53:43 +00:00
|
|
|
**/
|
|
|
|
class LoseTheGameState : public AbstractStateHandler
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
void setup();
|
|
|
|
void loop();
|
2016-12-05 22:42:20 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
unsigned long animationTime;
|
|
|
|
byte animationStep;
|
2016-12-04 18:53:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|