acleverpun / letsgoonanadventure

Adventure game prototype built from our skeleton
0 stars 0 forks source link

Implement mixins #18

Closed rosshadden closed 9 years ago

rosshadden commented 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.

rosshadden commented 9 years ago

Events should be ported to be a mixin, instead of having Entity extend EventEmitter.