Game Development Reference
In-Depth Information
What just happened?
GameLayer
is our game. It contains references to all the sprites we need to control and
update, as well as all game data.
In the class implementation, all the logic starts inside the
init
method.