Package repast.simphony.statecharts
Class AbstractState<T>
java.lang.Object
repast.simphony.statecharts.AbstractState<T>
- Direct Known Subclasses:
CompositeState
,HistoryState
,SimpleState
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected T
getAgent()
protected List<AbstractState<T>>
Returns a list with the highest node in front.getId()
protected Parameters
protected void
onEnter()
protected void
onExit()
protected void
registerOnEnter
(StateAction<T> onEnter) protected void
registerOnExit
(StateAction<T> onExit) void
setParent
(CompositeState<T> parent) protected void
setStateChart
(DefaultStateChart<T> stateChart) toString()
-
Constructor Details
-
AbstractState
-
-
Method Details