Implementing the Game

We have looked at an overview of how the application is put together. We know how the views got on the screen and looked at the life cycle of the application. In this section we are going to focus on just the game mechanics. We will look at how do we get actors into the game, how they behave, and how they interact.

First we will review the classes we created throughout this book to create a simple game framework. We will then explore the class BeltCommanderController and understand how it manages the game. Lastly, we will look at each Actor and understand how its implementation makes it work the way that it does.

Game Classes

In previous chapters, we have built a collection of classes for implementing a game. We have the ...

Get Beginning iOS 5 Games Development: Using the iOS 5 SDK for iPad, iPhone, and iPod Touch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.