- java.lang.Object
-
- com.almasb.fxgl.ai.btree.Task<E>
-
- com.almasb.fxgl.ai.btree.LeafTask<com.almasb.fxgl.entity.GameEntity>
-
- com.almasb.fxgl.ai.SingleAction
-
- com.almasb.fxglgames.pacman.ai.RandomMoveAction
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.almasb.fxgl.ai.btree.Task
com.almasb.fxgl.ai.btree.Task.Status
-
Field Summary
Fields
| Modifier and Type |
Field and Description |
protected com.almasb.fxgl.entity.component.PositionComponent |
position |
-
Fields inherited from class com.almasb.fxgl.ai.btree.Task
control, guard, status, TASK_CLONER, tree
-
Method Summary
-
Methods inherited from class com.almasb.fxgl.ai.SingleAction
copyTo, execute, getName
-
Methods inherited from class com.almasb.fxgl.ai.btree.LeafTask
addChildToTask, childFail, childRunning, childSuccess, getChild, getChildCount, run
-
Methods inherited from class com.almasb.fxgl.ai.btree.Task
addChild, cancel, cancelRunningChildren, checkGuard, cloneTask, end, fail, getGuard, getObject, getStatus, reset, running, setControl, setGuard, success
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
start
public void start()
- Overrides:
start in class com.almasb.fxgl.ai.btree.Task<com.almasb.fxgl.entity.GameEntity>
-
right
public void right()
Copyright © 2017. All rights reserved.