NerfStatTrak/StateUserUnknown.cpp
Mark van Renswoude ba58eb93c0 Moved away from proof of concepts, started prototyping for the final software
- Button library
- State handling and transitions
- Default state: dual counter display
- User unknown state: static for now
- Lost the game state: static for now
2016-12-04 19:53:43 +01:00

19 lines
304 B
C++

#include "StateUserUnknown.h"
#include "Globals.h"
#include "StateDefault.h"
void UserUnknownState::setup()
{
}
void UserUnknownState::loop()
{
if (buttonA->pressed() || buttonB->pressed())
{
setCurrentState(new DefaultState());
}
char text[] = "Unknwn";
display->writeTextLeft(text);
}