       @controller.keyState.on "keydown", (keyCode) =>
         collision = @controller.collision.collidesDirections {
           x: @sprite.position.x + 2, y: @sprite.position.y + 2,
-          height: 28, width: 28 }
+          height: @height, width: @width }
         switch keyCode
           when 38
             if collision.y isnt -1

        map: @texture.data
        useScreenCoordinates: false
        scaleByViewport: true
      @sprite.scale.x = @sprite.scale.y = 1 / 8
      @sprite.uvScale.x = 1 / 8
      @sprite.position.y = 32
      @scene.add @sprite, 1

    initialize: (@controller, @renderer, @scene, @texture) ->
      @setElement @renderer.domElement

      @width = 16
      @height = 16

      @texture.done @initializeSprite
        
