NerfStatTrak/StateLoseTheGame.h
Mark van Renswoude 2e8007d510 Support for gun armed detection
First attempt at implementing animation
2016-12-05 23:42:20 +01:00

25 lines
387 B
C++

#ifndef StateLoseTheGame_h
#define StateLoseTheGame_h
#include "Arduino.h"
#include "StateHandler.h"
/**
* Lose the game state
*
* Note that the animation in this state is hardcoded
* to 6 digits.
**/
class LoseTheGameState : public AbstractStateHandler
{
public:
void setup();
void loop();
private:
unsigned long animationTime;
byte animationStep;
};
#endif