Game Development Reference
In-Depth Information
Attaching an input AppState object
In this recipe, we will make an AppState object, which will handle the player input for a
character. It's a great way to add functionality to the application in a modular way. The Ap-
pState object we create here could easily be added during the game and removed or dis-
abled during cut scenes or while in the game menu.
Search WWH ::




Custom Search