Skip to content

Commit 55ff066

Browse files
author
NetGnome
committed
moar typos :(
1 parent 44b1afa commit 55ff066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Example of a simple A* following AI on a tilemap
4040
ParallelSequence follow = new ParallelSequence(new Inverter(tooClose), updatePosition, ifMovedCreateNewPath, ifPathFoundGetPath, ifPathIsNewUseIt, ifReachedCellGetNext, ifNotReachedTargetMoveTowardsCell, animate);
4141

4242
//setup root node, choose initialization phase or pathing/movement phase
43-
root = new RootSelector(switchBehaviors, initialize, follow);
43+
RootSelector root = new RootSelector(switchBehaviors, initialize, follow);
4444

4545
//set a reference to the root
4646
Behavior behavior = new Behavior(root);

0 commit comments

Comments
 (0)