     @RIGHT = 1
     @DOWN = 2
     @LEFT = 3
-
-  #  class Direction
-  #    @UNKNOWN = 0
-  #    @HORIZONTAL = 1
-  #    @VERTICAL = 2
 
   constructor: (source, grid, speed) ->
     @source = $(source)


    if @grid.isACrossStreet(@currentPosition)
      @currentStreetDirection = StreetDirection.CROSS
    #    else
    #      @latestDirectionFromJunction = Direction.UNKNOWN

    callback = () => @_moveTo(target)



  requestMove: (target) ->
    return unless @grid.isWithinAStreet(target)

    if @currentAnimation?
      clearTimeout(@currentAnimation)
