Wiki

Clone wiki

RogueSharp / RogueSharp / IGoalMap / AddObstacle

IGoalMapAddObstacle Method

Add an Obstacle at the specified location. Any paths found must not go through Obstacles

Namespace: RogueSharp
Assembly:

Syntax

void AddObstacle(
    int x,
    int y
)

Parameters

x

Type: SystemInt32
X location of the Obstacle starting with 0 as the farthest left

y

Type: SystemInt32
Y location of the Obstacle starting with 0 as the top

See Also

Reference

IGoalMap Interface
RogueSharp Namespace

[3]: 2014-2016 Faron Bracy

Updated