Wiki
Clone wikiRogueSharp / RogueSharp / IGoalMap / FindPathAvoidingGoals
IGoalMapFindPathAvoidingGoals Method
Returns a Path representing an ordered list of Points from the specified location away from Goals specified in this GoalMap instance Distance to the goals and the weight of the goals are both used in determining the priority of avoiding the Goals The path must not pass through any Obstacles specified in this GoalMap instance
Namespace: RogueSharp
Assembly:
Syntax
Path FindPathAvoidingGoals( int x, int y )
Parameters
x
Type: SystemInt32
X location of the beginning of the path, starting with 0 as the farthest left
y
Type: SystemInt32
Y location of the beginning of the path, starting with 0 as the top
Return Value
Type: Path
A Path representing ordered List of Points from the specified location away from Goals and avoiding Obstacles
See Also
Reference
IGoalMap Interface
RogueSharp Namespace
[4]: 2014-2016 Faron Bracy
Updated