Closed rosshadden closed 9 years ago
I think we can benefit from both classes and mixins. We need to come up with a nice implementation for mixins that makes them easy to use, with the requirement that any entity extending another one gets the mixins of the parent.
Events should be ported to be a mixin, instead of having Entity extend EventEmitter.
Entity
EventEmitter
I think we can benefit from both classes and mixins. We need to come up with a nice implementation for mixins that makes them easy to use, with the requirement that any entity extending another one gets the mixins of the parent.