bind a callback to an event triggerd by the object
object.bind 'cheat', blame
alias
same as bind, but does get executed only once
object.one 'groundTouch', gameOver
trigger an event and pass optional parameters for binding. object.trigger 'win', score: 1230
unbind to from all bindings, from all bindings of a specific event or from a specific binding.
object.unbind()
object.unbind 'move'
object.unbind 'move', follow
Events
extend any Class with support for
object.bind('event', cb)object.unbind('event', cb)object.trigger('event', args...)object.one('ev', cb)based on Events implementations from Spine