       transform = transform.concat(Matrix.translation(I.spriteOffset.x, I.spriteOffset.y))
 
     return transform
-
-Drawable.setSizeCallback = (sprite) ->
      width: 5
      height: 5
      sprite: "my_cool_sprite"
    
    engine.bind 'draw', (canvas) ->
      player.draw(canvas) 
    # => Uncaught TypeError: Object has no method 'draw'
    
    player.include(Drawable)
    
    engine.bind 'draw', (canvas) ->
      player.draw(canvas)
    # => if you have a sprite named "my_cool_sprite" in your images folder


###*
Triggered every time the object should be drawn. A canvas is passed as
the first argument.

    player = Core
      x: 0
      y: 10
      width: 5
      height: 5

    player.bind "draw", (canvas) ->
      # Text will be drawn positioned relatively to the object.
      canvas.drawText
