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

      else if DoubleHelper.compare(@currentPosition.getY(), target.getY())
        horizontalMove()
      else
        if @grid.shouldIMoveHorizontal(@currentPosition, target)
          horizontalMove()
        else
          verticalMove()

  getCurrentPosition: () ->


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

    callback = () => @_moveTo(target)

