public class Movement
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Movement(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
add(MovementPhase phase)
Adds a phase to the list of phases
|
MovementPhase |
getCurrentPhase() |
Movement |
getLeftVersion() |
void |
init() |
boolean |
isFinished() |
boolean |
perform(IAgentModel agent) |
boolean |
proceed()
goes to the next phase no matter if this phase is finished
|
FunctionBehaviorParameter |
toFunctionBehaviorParameter() |
java.lang.String |
toString() |
public void add(MovementPhase phase)
phase
- the phase to addpublic void init()
public boolean perform(IAgentModel agent)
agent
- reference to the agentmodelpublic MovementPhase getCurrentPhase()
public boolean isFinished()
public boolean proceed()
public Movement getLeftVersion()
public java.lang.String toString()
toString
in class java.lang.Object
public FunctionBehaviorParameter toFunctionBehaviorParameter()