Ejemplo n.º 1
0
 private Path2(Path2 previousSteps, ICoordsUser thisStep, Hexside direction, uint totalCost, int count)
 {
     _previousSteps = previousSteps;
     LastDirection  = direction;
     LastStep       = thisStep;
     Count          = count;
     TotalCost      = totalCost;
     TotalSteps     = previousSteps == null ? 0 : previousSteps.TotalSteps + 1;
 }
Ejemplo n.º 2
0
 private Path2(Path2 previousSteps, ICoordsUser thisStep, Hexside direction, uint totalCost)
     : this(previousSteps, thisStep, direction, totalCost, 0)
 {
 }