コード例 #1
0
 public NextStateEvent(IHasSequentialStates sm)
 {
     this.machine = sm;
 }
コード例 #2
0
 /// <summary>
 /// Gets an event that makes the state machine goes to its "next" state
 /// </summary>
 /// <returns>The next state event.</returns>
 /// <param name="statemachine">the script instance that contains the state machine</param>
 public static BeatEvent getNextStateEvent(IHasSequentialStates statemachine)
 {
     return(new NextStateEvent(statemachine));
 }
コード例 #3
0
 public NextStateEvent(IHasSequentialStates sm)
 {
     this.machine = sm;
 }
コード例 #4
0
 /// <summary>
 /// Gets an event that makes the state machine goes to its "next" state
 /// </summary>
 /// <returns>The next state event.</returns>
 /// <param name="statemachine">the script instance that contains the state machine</param>
 public static BeatEvent getNextStateEvent(IHasSequentialStates statemachine)
 {
     return new NextStateEvent(statemachine);
 }