Selaa lähdekoodia

fix typos (#123)

fix typo from "untill" to "until"
Dgames_Crew 4 vuotta sitten
vanhempi
commit
f243e9937e
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      docs/modules/contributions/pages/ai/jme3_ai.adoc

+ 3 - 3
docs/modules/contributions/pages/ai/jme3_ai.adoc

@@ -530,7 +530,7 @@ if (spatial == null) {
 [source, java]
 ----
 //Computes a path using the A* algorithm. Every 1/2 second checks target
-//for processing. Path will remain untill a new path is generated.
+//for processing. Path will remain until a new path is generated.
 private void startPathFinder() {
     executor.scheduleWithFixedDelay(() -> {
         if (target != null) {
@@ -648,7 +648,7 @@ public void update(float tpf) {
         Vector2f waypoint2D = new Vector2f(getWayPosition().x,
                 getWayPosition().z);
         float distance = aiPosition.distance(waypoint2D);
-        //move char between waypoints untill waypoint reached then set null
+        //move char between waypoints until waypoint reached then set null
         if (distance > .25f) {
             Vector2f direction = waypoint2D.subtract(aiPosition);
             direction.mult(tpf);
@@ -723,7 +723,7 @@ If it's greater than the distance specified, it will `setViewDirection()` of the
 ----
 if (getWayPosition() != null) {
     ...
-    //move char between waypoints untill waypoint reached then set null
+    //move char between waypoints until waypoint reached then set null
     if (distance > .25f) {
         Vector2f direction = waypoint2D.subtract(aiPosition);
         direction.mult(tpf);