void StateMachine::stateDoIntro() { m_timer.singleShot(3000, [&] () { if (m_state == State::DoIntro) { m_state = State::Menu; } }); emit renderingEnabled(true); }
void StateMachine::stateDoIntro() { emit fadeInRequested(0, 5000, 5000); emit renderingEnabled(true); }