public class MoveArmsToFall extends MovementBehavior
Constructor and Description |
---|
MoveArmsToFall(IThoughtModel thoughtModel)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
IBehavior |
switchFrom(IBehavior actualBehavior)
Decide if it is possible to switch to this behavior from the current
behavior.
|
init, isFinished, perform
abort, getConsecutivePerforms, getIntensity, getName, getPerforms, getRootBehavior, getSuccessfulPerforms, getUnsuccessfulPerforms, onLeavingBehavior, reload, setIntensity, setName, stayIn, toString
public MoveArmsToFall(IThoughtModel thoughtModel)
thoughtModel
- Reference to the thought model objectpublic IBehavior switchFrom(IBehavior actualBehavior)
IBehavior
switchFrom
in interface IBehavior
switchFrom
in class Behavior
actualBehavior
- the currently/actually performed behavior