public NextStateEvent(IHasSequentialStates sm) { this.machine = sm; }
/// <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)); }
/// <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); }