rdemoparty / stardust

2D sidescroller
2 stars 0 forks source link

Refactoring: Scene knows about Camera *and* GameObjectFactory #17

Closed benishor closed 9 years ago

benishor commented 9 years ago

Too many dependencies make for not such a clean architecture. The need for Scene to know about Camera and GameObjectFactory seems to be caused by exposing stuff to script. See if we can reduce dependencies by rethinking the script exports.