a little game engine that'll take you over the moon!
Refactor engine to use a mixin architecture that separates concerns. A mixin is a module that exports an object to merge into pocket. ``` coffee pocket.use require('./key.coffee') pocket.use require('./component.coffee') pocket.use require('./system.coffee') pocket.use require('./inputs/mouse.coffee') pocket.use require('./inputs/keyboard.coffee') ``` ``` coffee # key.coffee module.exports = key: (components) -> keys: (keys...) -> getKeys: -> destroyKey: (id) -> ... ```
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by giladgray and has received 0 comments.