public abstract class MovementBehavior extends Behavior
Constructor and Description |
---|
MovementBehavior(MovementBehavior source)
Copy constructor
|
MovementBehavior(java.lang.String name,
IThoughtModel thoughtModel) |
Modifier and Type | Method and Description |
---|---|
void |
init()
Reinitializes the Behavior-StateMachine (if present)
|
boolean |
isFinished()
Check if this behavior is finished performing
|
void |
perform()
Called to perform the behavior
|
abort, getConsecutivePerforms, getIntensity, getName, getPerforms, getRootBehavior, getSuccessfulPerforms, getUnsuccessfulPerforms, onLeavingBehavior, reload, setIntensity, setName, stayIn, switchFrom, toString
public MovementBehavior(java.lang.String name, IThoughtModel thoughtModel)
name
- thoughtModel
- public MovementBehavior(MovementBehavior source)
source
- public void perform()
IBehavior
public boolean isFinished()
IBehavior
isFinished
in interface IBehavior
isFinished
in class Behavior