       _.mapObject { left: {}, right: {}, up: {}, down: {} }, (key) ->
         key.isUp = key.isDown = no; key
 
-    gravity: new Phaser.Point()
+    gravity: new Point()

  configurePlatformsWithDefaults: (platforms) ->
    platforms.minLedgeSize = 3
    platforms.maxLedgeSize = 5
    platforms.minLedgeSpacing = new Phaser.Point 4, 2
    platforms.maxLedgeSpacing = new Phaser.Point 8, 4
    platforms.ledgeThickness = 2
    platforms.tileWidth = platforms.tileHeight = 32


  createPlayerProps: (player) ->
    sprite:
      body: 
        onFloor: -> no
        drag: new Point(), setSize: jasmine.createSpy 'setSize'
        velocity: new Point(), acceleration: new Point()
      game:
        time: { create: -> new FakeTimer() }
      scale: new Point()

    animations:
      play: jasmine.createSpy('play').and.callFake (name) ->
