Wiki

Clone wiki

RogueSharp / RogueSharp / GoalMap / AddObstacle

GoalMapAddObstacle Method

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

Namespace: RogueSharp
Assembly:

Syntax

public 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

Implements

IGoalMapAddObstacle(Int32, Int32)

See Also

Reference

GoalMap Class
RogueSharp Namespace

[4]: 2014-2016 Faron Bracy

Updated