123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- using System;
- namespace Wayne.Lib.StateEngine
- {
-
-
-
-
-
-
-
- abstract public class PseudoState : State
- {
- #region Sealed Methods
-
-
-
-
- protected sealed override void Enter(StateEntry stateEntry, ref Transition transition)
- {
- base.Enter(stateEntry, ref transition);
- transition = this.CreatePseudoStateTransition(stateEntry);
- }
-
-
-
-
- protected override sealed void Exit()
- {
- base.Exit();
- }
-
- #endregion
- #region Abstract Methods
-
-
-
-
-
-
- protected abstract Transition CreatePseudoStateTransition(StateEntry stateEntry);
- #endregion
- }
-
-
-
-
-
-
-
- abstract public class InitialState : PseudoState
- {
- }
- }
|