Menu

#3 Move SoundSystem out of component builders and component constructors

open
nobody
Refactor (2)
2011-03-10
2010-10-14
Weston Pace
No

Life would be a lot easier if components had blank constructors. We should move the SoundSystem dependency out of the constructor. Instead that should be satisfied during the init phase of the components. In addition, the init phase should be triggered by the builder and not left up to the user.

Done:
Every AComponent has an empty constructor
Every ComponentBuilder has no dependencies
There is no need to call init by the user

Discussion

Anonymous
Anonymous

Add attachments
Cancel