public class FocusBall extends Behavior
Constructor and Description |
---|
FocusBall(IThoughtModel thoughtModel,
java.util.Map<java.lang.String,IBehavior> behaviors)
Instantiates and initializes a new Balance behavior object
|
Modifier and Type | Method and Description |
---|---|
void |
perform()
Called to perform the behavior
|
abort, getConsecutivePerforms, getIntensity, getName, getPerforms, getRootBehavior, getSuccessfulPerforms, getUnsuccessfulPerforms, init, isFinished, onLeavingBehavior, reload, setIntensity, setName, stayIn, switchFrom, toString
public FocusBall(IThoughtModel thoughtModel, java.util.Map<java.lang.String,IBehavior> behaviors)
thoughtModel
- Reference to the thought model objectbehaviors
- List of applicable behaviorspublic void perform()
IBehavior