Wiki

Clone wiki

RogueSharp / RogueSharp / Path / StepForward

PathStepForward Method

Move forward along this Path and advance the CurrentStep to the next Step in the Path

Namespace: RogueSharp
Assembly:

Syntax

public Cell StepForward()

Return Value

Type: Cell
A Cell representing the Step that was moved to as we advanced along the Path

Exceptions

Exception Condition
NoMoreStepsException Thrown when attempting to move forward along a Path on which we are currently at the End

See Also

Reference

Path Class
RogueSharp Namespace

[5]: 2014-2016 Faron Bracy

Updated