public StateHandler() { _score = 0; _gamestate = GameState.Menu; _menustate = MenuState.MainMenu; _levelstate = LevelState.Level1; _transitionstate = TransitionState.LevelStart; _characterstate = CharacterState.Standing; _characterskin = Skins.Mario; _nextgamestate = GameState.Menu; _nextmenustate = MenuState.MainMenu; _nextlevelstate = LevelState.Level1; _nexttransitionstate = TransitionState.LevelStart; _nextcharacterstate = CharacterState.Standing; _nextcharacterskin = Skins.Mario; _cursor = MenuCursor.PlayGame; _keyscursor = 1; _skinscursor = 1; }
public Menu(float selectorDistance) { menuElements = new List<MenuElement>(); menuTexts = new List<MenuText>(); selectionCursor = new MenuCursor("Selector", new Vector2(0.4f, 0.4f), selectorDistance); }