Wiki

Clone wiki

RogueSharp / RogueSharp / Path / _ctor

Path Constructor

Construct a new Path from the specified ordered list of Cells

Namespace: RogueSharp
Assembly:

Syntax

public Path(
    IEnumerable<Cell> steps
)

Parameters

steps

Type: System.Collections.GenericIEnumerableCell
An IEnumerable of Cells that represent the ordered steps along this Path from Start to End

Exceptions

Exception Condition
ArgumentNullException Thrown when the specified steps parameter is null
ArgumentException Thrown when the specified steps parameter is empty

See Also

Reference

Path Class
RogueSharp Namespace

[4]: 2014-2016 Faron Bracy

Updated