darR3Ke / EngineWorks-2.0

0 stars 0 forks source link

Change the drawing so that only the objects that move are being redrawn #2

Open darR3Ke opened 10 years ago

darR3Ke commented 10 years ago

Use the observer design pattern to let the game objects check in if they need to be redrawn

darR3Ke commented 10 years ago

Added boolean redraw.

darR3Ke commented 10 years ago

Refactoring GameLogic (previously game) and GameObjects to implement an interface called game. Using the interface game to implement observer design pattern.

objects created from gameObjects get the ability to sign up to be redraw on the screen in GameLogic