public class KeeperRight extends MovementBehavior
Constructor and Description |
---|
KeeperRight(IThoughtModel thoughtModel)
Default constructor
|
KeeperRight(java.lang.String name,
IThoughtModel thoughtModel)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
perform()
Called to perform the behavior
|
init, isFinished
abort, getConsecutivePerforms, getIntensity, getName, getPerforms, getRootBehavior, getSuccessfulPerforms, getUnsuccessfulPerforms, onLeavingBehavior, reload, setIntensity, setName, stayIn, switchFrom, toString
public KeeperRight(IThoughtModel thoughtModel)
thoughtModel
- Reference to the thought model objectpublic KeeperRight(java.lang.String name, IThoughtModel thoughtModel)
name
- - the name of the behaviorthoughtModel
- Reference to the thought model objectpublic void perform()
IBehavior
perform
in interface IBehavior
perform
in class MovementBehavior