public class RemoteControllBehavior extends SingleComplexBehavior
Constructor and Description |
---|
RemoteControllBehavior(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 RemoteControllBehavior(IThoughtModel thoughtModel, java.util.Map<java.lang.String,IBehavior> behaviors)
thoughtModel
- Reference to the thought model objectbehaviors
- A list of behaviorskeepLeftBehaviorName
- The name of the keep-left behaviorkeepRightBehaviorName
- The name of the keep-right behaviorpublic IBehavior decideNextBasicBehavior()
SingleComplexBehavior