Wiki
Clone wikiRogueSharp / RogueSharp / GoalMap / AddGoal
GoalMapAddGoal Method
Add a Goal at the specified location with the specified weight
Namespace: RogueSharp
Assembly:
Syntax
public 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
Implements
IGoalMapAddGoal(Int32, Int32, Int32)
See Also
Reference
GoalMap Class
RogueSharp Namespace
[4]: 2014-2016 Faron Bracy
Updated