At start up the GameEngine (controller) will tell House how large the house needs to be.
The model will generate a house and return a house back to GameEngine.
The controller will then hand a Character to the House and the house will randomly place it.
The GameEngine controller will then hand the house with everything placed to the render-er to which it will draw.
After this ZombieHouse is going to start calling GameEngine's update() at ~60fps, in addition its imdidetatly going to start passing any events to the GameEngine.
GameEngine will be passed ALL events and therefore need to be filtered/sifted through and only grab the one's we need.
GameEngine Will then call methods of other controllers like CharacterController to rotate
CharacterController is when the actual Character object's attributes should be updated. i.e. if the GameEngine calls the CharacterController's rotateLeft() then the controller will update its instance method of the Character character.rotate(180)
Character movement
quick overview
GameEngine
(controller) will tellHouse
how large the house needs to be.GameEngine
.Character
to theHouse
and the house will randomly place it.GameEngine
controller will then hand the house with everything placed to the render-er to which it will draw.ZombieHouse
is going to start callingGameEngine
'supdate()
at ~60fps, in addition its imdidetatly going to start passing any events to theGameEngine
.GameEngine
will be passed ALL events and therefore need to be filtered/sifted through and only grab the one's we need.GameEngine
Will then call methods of other controllers likeCharacterController
to rotateCharacterController
is when the actualCharacter
object's attributes should be updated. i.e. if theGameEngine
calls theCharacterController
'srotateLeft()
then the controller will update its instance method of the Charactercharacter.rotate(180)
Movements