Wiki
Clone wikiRogueSharp / RogueSharp / IGoalMap / AddGoal
IGoalMapAddGoal Method
Add a Goal at the specified location with the specified weight
Namespace: RogueSharp
Assembly:
Syntax
void AddGoal( int x, int y, int weight )
Parameters
x
Type: SystemInt32
X location of the Goal starting with 0 as the farthest left
y
Type: SystemInt32
Y location of the Goal starting with 0 as the top
weight
Type: SystemInt32
The priority of this goal with respect to other goals with lower numbers being a higher priority
See Also
Reference
IGoalMap Interface
RogueSharp Namespace
[3]: 2014-2016 Faron Bracy
Updated