     baseSpeed -= 1 if @left
     baseSpeed += 1 if @right
     baseSpeed *= Constants.k('movement_speed')
-    console.log baseSpeed
     physics = body.GetWorld().UserData
     [x_, y_] = physics.rotate([baseSpeed, 0])
     body.ApplyForce(new Box2D.Common.Math.b2Vec2(x_, y_),

  all: (callback) ->
    callback(obj) for obj in objects
  select: (callback) ->
    [best, bestScore] = [null, 0]
    for obj in objects
      result = callback(obj)
      if result? and result < bestScore
        [best, bestScore] = [obj, result]
    best


    Input.hold('move_left', (en) => @doMoveLeft(en))
    Input.hold('move_right', (en) => @doMoveRight(en))
    Input.press('move_up', => @doJump())
    Input.press('gravityGun', => @doGrab())
    @next.doAttach()

class LateralMovementAdapter extends EntityAdapter
