Beispiel #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"));
        }
 public SplashScreenState(StateSystem system)
 {
     _system = system;
 }
Beispiel #3
0
 public TitleMenuState(StateSystem system)
 {
     _system = system;
 }
Beispiel #4
0
 public SplashcreenState(StateSystem _system)
 {
     // TODO: Complete member initialization
     this._system = _system;
 }
 public SplashcreenState(StateSystem _system)
 {
     // TODO: Complete member initialization
     this._system = _system;
 }
 public SplashScreenState(StateSystem system)
 {
     m_System = system;
 }