Design Patterns for Game Objects in Game Loop
<p>I am building out a Game application with game loop.  So I will have game objects with update/draw operations.  I was wondering if composition or inheritance is best approach or other design patterns to apply here?  Also I am wondering if I should make full scale game objects out of the areas in whch the game objects function?  If for example I have a game object like person or car and it is inside say a region like yard, should the yard itself be modeled as a game object also? another example would be if I had a boxing game, obviosly I would make the fighers game objects and the ring might be a canvas, but should the ring be a full scale object too?  Sensing fighters hitting the ropes for example?  And if so how would update/render interface differ.  How would one express figher inside/outside region/ring?  Or is it just not a good idea to make a game object out of an area?  I was hoping to hear from someone who has modeled this type of thing before.</p>
