de.xabsl.jxabsl.action
Class ActionBehavior

java.lang.Object
  extended by de.xabsl.jxabsl.action.Action
      extended by de.xabsl.jxabsl.action.ActionBehavior
Direct Known Subclasses:
ActionBasicBehavior, ActionOption

public abstract class ActionBehavior
extends Action

Represents an action execution. This is either a subsequent option or basic behavior to be executed.


Field Summary
protected  ParameterAssignment parameterAssignment
           
 
Fields inherited from class de.xabsl.jxabsl.action.Action
timeFunction
 
Constructor Summary
ActionBehavior(TimeFunction timeFunction)
          Constructor.
 
Method Summary
 void execute()
          Execute the action.
abstract  Behavior getBehavior()
          The option or basic behavior that is executed
 ParameterAssignment getParameterAssignment()
           
 
Methods inherited from class de.xabsl.jxabsl.action.Action
create, create
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parameterAssignment

protected ParameterAssignment parameterAssignment
Constructor Detail

ActionBehavior

public ActionBehavior(TimeFunction timeFunction)
Constructor.

Parameters:
timeFunction - A pointer to a function that returns the system time in ms.
Method Detail

getBehavior

public abstract Behavior getBehavior()
The option or basic behavior that is executed


execute

public void execute()
Description copied from class: Action
Execute the action.

Specified by:
execute in class Action

getParameterAssignment

public ParameterAssignment getParameterAssignment()