In a game I'm starting to make using cocos2d, I have a subclass of NSObject containing details like the speed of the car, so that's the model. However I'm confused as to what the Controller and View are? The only other class I have is a subclass of CCLayer. In this I have the accelerometer delegate method which moves the sprites around, in the init it adds the sprites to the scene(?)
I assume it would be wrong to reference of the sprite of the car in the subclass of NSObject which holds the details of the car?
So whats the View and the Controller when using cocos2d?
(eg in traditional apps, the Model is generally a subclass of NSObject (or just an array or dictionary) , the Controller is a subclass of UIViewController, and the view is a subclass of UIView)