GetPathLength() public method

public GetPathLength ( ) : int
return int
 public GameEventArgs(Unit unit)
 {
     this.unit = unit;
     this.tilesToGoal = unit.GetPathLength();
 }