public override void InnerBeginn() { gottenPath = path.Get(); atNode = 0; if (path != null && gottenPath.Count > 0) { Mover.Destination = gottenPath[0]; } }
/// <summary> /// Checks if a path has the same steps as this path. /// </summary> /// <param name="otherPath">The other path.</param> /// <returns>Wheter it is the same or not.</returns> public bool IsSame(PathValue otherPath) => IsSame(otherPath.Get());