Now we still have to start the application. We got all the states we need, but we still have to activate StateIntro. This will be done in the Init() function off the application. We’ll instantly switch to StateIntro at that point. This means the functions Update() and Draw() will never be used in this application.
void InitPre()
{
EE_INIT();
}
5
bool Init()
{
StateIntro.set();
return true;
10}
void Shut() {}
bool Update() {return false;} // unused
void Draw () { } // unused
15