public void MoveToTarget(Path target) { Moves.AddRange(target.GetXMoves); Moves.AddRange(target.GetYMoves); TargetReach++; _ttl -= target.Distance; Position = target.Destination; }
public bool CanMoveTo(Path target) { return _ttl >= target.Distance; }