Пример #1
0
        public void TestAddedStateExists()
        {
            StateSystem stateSystem = new StateSystem();
            stateSystem.AddState("splash", new SplashScreenState(stateSystem));

            // Does the added function now exist?

            Assert.IsTrue(stateSystem.Exists("splash"));
        }
Пример #2
0
 public SplashScreenState(StateSystem system)
 {
     _system = system;
 }
Пример #3
0
 public TitleMenuState(StateSystem system)
 {
     _system = system;
 }
Пример #4
0
 public SplashcreenState(StateSystem _system)
 {
     // TODO: Complete member initialization
     this._system = _system;
 }
Пример #5
0
 public SplashcreenState(StateSystem _system)
 {
     // TODO: Complete member initialization
     this._system = _system;
 }
 public SplashScreenState(StateSystem system)
 {
     m_System = system;
 }