示例#1
0
        private static void InitializeStates()
        {
            StateSystem = new StateSystem();
            StateSystem.RenderWindow = RenderWindow;

            StateSystem.AddState("animated_tile_state", new AnimatedTileTestState());

            StateSystem.SetCurrentState("animated_tile_state");
        }
示例#2
0
        private static void InitializeStates()
        {
            StateSystem = new StateSystem();
            StateSystem.RenderWindow = RenderWindow;

            StateSystem.AddState("animation_group_state", new AnimationGroupState());

            StateSystem.SetCurrentState("animation_group_state");
        }
示例#3
0
        private static void InitializeStates()
        {
            StateSystem = new StateSystem();
            StateSystem.RenderWindow = RenderWindow;

            //StateSystem.AddState("top_view_state", new TopViewMapState());
            //StateSystem.AddState("parallax_screen_state", new ParallaxScreenState());
            StateSystem.AddState("character_animation_state", new CharacterAnimationState());

            //StateSystem.SetCurrentState("top_view_state");
            //StateSystem.SetCurrentState("parallax_screen_state");
            StateSystem.SetCurrentState("character_animation_state");
        }
示例#4
0
        private static void InitializeStates()
        {
            stateSystem = new StateSystem();

            stateSystem.AddState("game", new GameState());

            stateSystem.SetCurrentState("game");
        }