Game Development Reference
In-Depth Information
What just happened?
We added a timer to our game by scheduling a second update—specifying the time interval
we wanted—using the
schedule
method.
If you wish to remove a timer, all you need to do is call the
unsched-
ule(SEL_SCHEDULE selector)
method of nodes anywhere in your class.
Now, let's take our Box2D game to Android.