Example #1
0
 // A couple of short-hand functions for setting the state
 public void SetState(int newStateID, params object[] paramList)
 {
     StateMachine.SetState(newStateID, paramList);
 }
Example #2
0
 public void SetState(int newStateID)
 {
     StateMachine.SetState(newStateID);
 }
 protected override void SetStateAwake()
 {
     StateMachine.SetState <StateAwakeDefault>();
 }
 protected override void SetStateExit()
 {
     StateMachine.SetState <StateExitDefault>();
 }
 protected override void SetStatePause()
 {
     StateMachine.SetState <StatePauseDefault>();
 }
 protected override void SetStatePlay()
 {
     StateMachine.SetState <StatePlayDefault>();
 }
 protected override void SetStateLoad()
 {
     StateMachine.SetState <StateLoadDefault>();
 }