« laying out levels | Main | watta mess! »

Restarting a game level...

I figured out how to restart my level upon pushing a button in the game view controller itself. Simply calling the init method on self works perfectly. I have all the initial conditions hard-coded in there anyway.
This approach works well for my game which has relatively few variables to initialize.

TrackBack

TrackBack URL for this entry:
http://solvengineer.com/blog-mt/mt-tb.fcgi/50


Hosting by Yahoo!

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)