Difference between revisions of "Parallel State Machine Design"

From SWGANH Wiki
Jump to: navigation, search
 
Line 7: Line 7:
  
 
== Action State ==
 
== Action State ==
OnEntry(ActorState, State)
+
OnEntry(ActorState, State)<br />
OnExit(ActorState, State)
+
OnExit(ActorState, State)<br />
OnTransition(ActorState, State)
+
OnTransition(ActorState, State)<br />
 
== Locomotion State ==
 
== Locomotion State ==
OnEntry(ActorState, State)
+
OnEntry(ActorState, State)<br />
OnExit(ActorState, State)
+
OnExit(ActorState, State)<br />
OnTransition(ActorState, State)
+
OnTransition(ActorState, State)<br />
 
== Posture State ==
 
== Posture State ==
OnEntry(ActorState, State)
+
OnEntry(ActorState, State)<br />
OnExit(ActorState, State)
+
OnExit(ActorState, State)<br />
OnTransition(ActorState, State)
+
OnTransition(ActorState, State)<br />
  
 
== StateManager ==
 
== StateManager ==

Latest revision as of 14:51, 23 January 2012

Abstract State

Methods:

Entry(ActorState, State)
Exit(ActorState, State)
Transition(ActorState, State)

Action State

OnEntry(ActorState, State)
OnExit(ActorState, State)
OnTransition(ActorState, State)

Locomotion State

OnEntry(ActorState, State)
OnExit(ActorState, State)
OnTransition(ActorState, State)

Posture State

OnEntry(ActorState, State)
OnExit(ActorState, State)
OnTransition(ActorState, State)

StateManager