Wiki

Clone wiki

RogueSharp / RogueSharp / Path / StepBackward

PathStepBackward Method

Move backwards along this Path and rewind the CurrentStep to the previous Step in the Path

Namespace: RogueSharp
Assembly:

Syntax

public Cell StepBackward()

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 backward along a Path on which we are currently at the Start

See Also

Reference

Path Class
RogueSharp Namespace

[5]: 2014-2016 Faron Bracy

Updated