27 lines
446 B
C++
27 lines
446 B
C++
#ifndef __reset
|
|
#define __reset
|
|
|
|
#include "screen.h"
|
|
|
|
/*
|
|
* Reset screen
|
|
* Shows that you just lost all data. And the game.
|
|
*/
|
|
class ResetScreen : public BaseScreen
|
|
{
|
|
private:
|
|
uint32_t mStart;
|
|
|
|
public:
|
|
ResetScreen(ScreenManager* screenManager) : BaseScreen(screenManager) { }
|
|
|
|
void onShow();
|
|
void onHide();
|
|
|
|
void onButton();
|
|
void onEncoder(int32_t lastPosition, int32_t newPosition);
|
|
void onTick();
|
|
};
|
|
|
|
#endif
|