private static void InitializeStates() { StateSystem = new StateSystem(); StateSystem.RenderWindow = RenderWindow; StateSystem.AddState("animated_tile_state", new AnimatedTileTestState()); StateSystem.SetCurrentState("animated_tile_state"); }
private static void InitializeStates() { StateSystem = new StateSystem(); StateSystem.RenderWindow = RenderWindow; StateSystem.AddState("animation_group_state", new AnimationGroupState()); StateSystem.SetCurrentState("animation_group_state"); }
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"); }
private static void InitializeStates() { stateSystem = new StateSystem(); stateSystem.AddState("game", new GameState()); stateSystem.SetCurrentState("game"); }