Game Development Reference
In-Depth Information
How it works...
The AppState object works with the application in a way that is similar to how Con-
trol works with spatial . They give extended functionalities in a modular way. Once it
has been attached to stateManager , its update method will be called every cycle.
This gives us access to the application's thread as well. It also has the stateAttached
and stateDetached methods, which can be used to turn functionality on and off easily.
Search WWH ::




Custom Search