Original Post
I stumbled across this article on game architecture while reading about controlling FPS: http://dewitters.koonsolo.com/gamemvc.html It all seems to make a lot of sense and is fairly easy to follow, but I've a few questions. 1. Does this mean that much or nearly all of the coding related to an entity coded this way (in this case a RaceCar) would be done through the Controller objects? What I mean is... if you wanted to spawn a RaceCar or something would it be handled by doing something like:
ObjectVector.push_back( new ObjectController ); And then once you had ObjectModel and Object View implemented you'd almost never really touch them again since the ObjectController class would be your interface to all aspects of the object? 2. Should the Controller class have a pointer to a Model and a pointer to a View? Sounds about right but I'm just trying to get this right in my head. 3. Is this model close to how you code or do you use something different? Is this one of the most common approaches to organizing game classes?