예제 #1
0
void StateMachine::stateDoIntro()
{
    m_timer.singleShot(3000, [&] () {
        if (m_state == State::DoIntro)
        {
            m_state = State::Menu;
        }
    });

    emit renderingEnabled(true);
}
예제 #2
0
void StateMachine::stateDoIntro()
{
    emit fadeInRequested(0, 5000, 5000);
    emit renderingEnabled(true);
}