NerfStatTrak/StateLoseTheGame.cpp

19 lines
302 B
C++
Raw Normal View History

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