Britbot
static HeadingVector Britbot.HeadingVector.CalcDifference ( Location  source,
Location  target 
) [inline, static]

Calculates the direction vector between two points.

Parameters:
sourcethe point of beginning
targetthe target (end point)
Returns:

Definition at line 215 of file HeadingVector.cs.

        {
            //assigning new variable
            return new HeadingVector(target.Col - source.Col, target.Row - source.Row);
        }