27 lines
529 B
C++
27 lines
529 B
C++
#include "Mt_Welcome.h"
|
|
#include "StateManager.h"
|
|
#include "Mt_Idel.h"
|
|
|
|
Mt_Welcome::Mt_Welcome()
|
|
{
|
|
}
|
|
|
|
Mt_Welcome::~Mt_Welcome()
|
|
{
|
|
}
|
|
|
|
void Mt_Welcome::InitState(int state)
|
|
{
|
|
display->DisplayState(DisType::Dis_Welcome,0,ClearScreen::All);
|
|
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
|
|
display->DisplayState(DisType::Dis_Init,0,ClearScreen::All);
|
|
}
|
|
|
|
IState *Mt_Welcome::OnState(StateInfo mode)
|
|
{
|
|
return StateManager<Mt_Idel>::GetState();
|
|
}
|
|
|
|
void Mt_Welcome::SetBtnCall(std::function<void()> call)
|
|
{
|
|
} |