acleverpun / letsgoonanadventure

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

Add event system #15

Closed rosshadden closed 9 years ago

rosshadden commented 9 years ago

Whether we roll our own (they are very easy) or use an existing one, we should add a simple event system.

Then we could do things like entity.on('spawn', function() {}), instead of using the stupid/ancient entity.onSpawn = function() {} convention.