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


    if @grid.isACrossStreet(@currentPosition)
      @currentStreetDirection = StreetDirection.CROSS

    callback = () => @_moveTo(target)



  requestMove: (target) ->
    return unless @grid.isWithinAStreet(target)
    @latestDirectionFromJunction = Direction.UNKNOWN
    @_moveTo(@grid.realign(target))