Game Development Reference
In-Depth Information
eGS_Level3 = 3
};
2. In the
Update()
loop, we ensure that there is no longer any auto state-chan-
ging code. This method should be empty at this point. For the most prompt
level, change the signal rather than letting this system update the level when
it detects a change. We will call
ChangeLevel()
directly from the level com-
plete pop ups when a change is required.