public class SearchBall extends SingleComplexBehavior
Constructor and Description |
---|
SearchBall(IThoughtModel thoughtModel,
java.util.Map<java.lang.String,IBehavior> behaviors)
Constructor
|
Modifier and Type | Method and Description |
---|---|
IBehavior |
decideNextBasicBehavior()
Decide for a single next behavior.
|
abort, getCurrentBehavior, getCurrentBehaviorchain, getRootBehavior, init, isBehaviorInExecution, isFinished, onLeavingBehavior, perform, switchFrom, toString
getConsecutivePerforms, getIntensity, getName, getPerforms, getSuccessfulPerforms, getUnsuccessfulPerforms, reload, setIntensity, setName, stayIn
public SearchBall(IThoughtModel thoughtModel, java.util.Map<java.lang.String,IBehavior> behaviors)
thoughtModel
- Reference to the thought model objectbehaviors
- A list of behaviorspublic IBehavior decideNextBasicBehavior()
SingleComplexBehavior