예제 #1
0
 public override void HandleNextEvent(StateMachine context)
 {
     context.MoveNext ();
     context.PlaySoundStart ();
     //context.ResetTimer ();
     context.ChangeState (PlayingInManualState.Instance);
 }
 public override void HandleEnterAutoModeEvent(StateMachine context)
 {
     context.MoveNext ();
     context.PlaySoundStart ();
     context.ChangeState (AwaitingInAutoState.Instance);
 }
예제 #3
0
 public override void HandleTimeoutEvent(StateMachine context)
 {
     context.MoveNext ();
     context.PlaySoundStart ();
 }