Bläddra i källkod

Minor clarification of where NavMeshPathfinder is located. Added links. Fixed broken link.

mitm 8 år sedan
förälder
incheckning
d996753ad0
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      src/docs/asciidoc/jme3/advanced/jme3_ai.adoc

+ 3 - 3
src/docs/asciidoc/jme3/advanced/jme3_ai.adoc

@@ -442,7 +442,7 @@ At this point you have loaded your `NavMesh`, added the `NavigationControl` to y
 === NavigationControl
 
 
-The link:https://github.com/jMonkeyEngine/doc-examples/blob/master/src/com/jme3/examples/jme3ai/ai/NavigationControl.java[NavigationControl] is a <<jme3/advanced/custom_controls#,custom control>> that extends the `NavMeshPathFinder` class and implements the `Pickable` interface.
+The link:https://github.com/jMonkeyEngine/doc-examples/blob/master/src/com/jme3/examples/jme3ai/ai/NavigationControl.java[NavigationControl] is a <<jme3/advanced/custom_controls#,custom control>> that extends the link:https://github.com/MeFisto94/jme3-artificial-intelligence/blob/master/AI/src/com/jme3/ai/navmesh/NavMeshPathfinder.java[NavMeshPathFinder] class of the Jme3AI library and implements the `Pickable` interface.
 
 [source, java]
 ----
@@ -776,7 +776,7 @@ When the last waypoint is reached, the `NavigationControl` notifies the `PCContr
 }
 ----
 
-The PCControl class handles the actual movement of the spatial in its `update()` loop. It does this by checking the `forward` variable every iteration. This variable is set when you call the `onAction()` method from the `NavigationControl` update loop.
+The link:https://github.com/jMonkeyEngine/doc-examples/blob/master/src/com/jme3/examples/jme3ai/controls/PCControl.java[PCControl] class handles the actual movement of the spatial in its `update()` loop. It does this by checking the `forward` variable every iteration. This variable is set when you call the `onAction()` method from the `NavigationControl` update loop.
 
 .PCControl ActionListener
 [source, java]
@@ -825,7 +825,7 @@ The `PCControl` will then set the walk direction, based off spatials world rotat
 == Conclusion
 
 
-The intent of this tutorial was to give you a general breakdown of how the Jme3AI navigation system works as well as demonstrate how flexible its implementation is. All the code in this tutorial is free for your use and can be found in the link:https://github.com/jMonkeyEngine/doc-examples[jme3 documentation repository]. If you have questions or suggestions on improving this tutorial you can do so in the link:jmonkeyengine[jMonkeyEngine forum].
+The intent of this tutorial was to give you a general breakdown of how the Jme3AI navigation system works as well as demonstrate how flexible its implementation is. All the code in this tutorial is free for your use and can be found in the link:https://github.com/jMonkeyEngine/doc-examples[jme3 documentation repository]. If you have questions or suggestions on improving this tutorial you can do so in the link:https://hub.jmonkeyengine.org/[jMonkeyEngine forum].
 
 == Other AI Options