Skip to content

Instantly share code, notes, and snippets.

@irskep
Last active December 15, 2015 00:39
Show Gist options
  • Save irskep/5174620 to your computer and use it in GitHub Desktop.
Save irskep/5174620 to your computer and use it in GitHub Desktop.
# NOW:
GW.characters.paths.findPath(world, pathMap, node, start, end)
# PROPOSED:
PF = new GW.characters.paths.Pathfinder(world, pathMap)
PF.findPath(node, start, end)
PF.findPath(node, start2, end2)
PF.canFindPath(node, start, end)
PF.characterCanReachPlot(character, plot)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment