java.lang.Object | |
↳ | uk.ac.imperial.presage2.util.protocols.SpawnAction |
Wraps an FSM Action
to cast the event and entity to a
ConversationSpawnEvent
and FSMConversation
respectively and
provide the
processSpawn(ConversationSpawnEvent, FSMConversation, Transition)
method to perform actions required when the conversation is spawned.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
uk.ac.imperial.presage2.util.fsm.Action
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Executes actions when a conversation is spawned.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
uk.ac.imperial.presage2.util.fsm.Action
|
Executes this action for the Transition
transition
caused by event
.
event | the event which caused this transition. |
---|---|
entity | Entity object for this FSM. |
transition | transition being taken. |
Executes actions when a conversation is spawned. Will automatically add
recipients from the ConversationSpawnEvent
to the converstaion
recipients.