public final class AIteratorITracePointStateEnginge.Transition extends Object
AIteratorITracePointStateEnginge.ICondition
and the Enum
that follows from the input (in case the condition is
true).
Constructor and Description |
---|
Transition(AIteratorITracePointStateEnginge.ICondition condition,
AIteratorITracePointStateEnginge.IAction action,
Enum<?> stateFollowing)
Creates a transition with a condition and the next state (in case
condition falls true).
|
Modifier and Type | Method and Description |
---|---|
AIteratorITracePointStateEnginge.IAction |
getAction()
Returns the action to invoke when this transition is taken.
|
AIteratorITracePointStateEnginge.ICondition |
getCondition()
Returns the condition (computed from the input
ITracePoint2D )
that has to be met to jump to the state of this transition. |
Enum<?> |
getStateFollowing()
Returns the state that will be the next current state if the condition is
met.
|
public Transition(AIteratorITracePointStateEnginge.ICondition condition, AIteratorITracePointStateEnginge.IAction action, Enum<?> stateFollowing)
condition
- the condition (computed from the input ITracePoint2D
)
that has to be met to jump to the state of this transition.action
- the action to execute when this transition is taken.stateFollowing
- the state that will be the next current state if the condition
is met.public AIteratorITracePointStateEnginge.IAction getAction()
public AIteratorITracePointStateEnginge.ICondition getCondition()
ITracePoint2D
)
that has to be met to jump to the state of this transition.
ITracePoint2D
)
that has to be met to jump to the state of this transition.public Enum<?> getStateFollowing()
Copyright © 2019. All rights reserved.