protected override void Initialize() { myStateStack.AddCommand(new StateCommand { myCommandType = EStateCommandType.Add, myStateType = EStateType.Major, myState = new MainMenuState() }); base.Initialize(); }