示例#1
0
        public override void gameWindowSizeChanged(Rectangle oldBounds, Rectangle newBounds)
        {
            if (!(Game1.activeClickableMenu is SettingsMenu))
            {
                return;
            }

            Game1.activeClickableMenu = new SettingsMenu(_parent, _currentIndex);
            _previousMenu?.gameWindowSizeChanged(oldBounds, newBounds);
        }
示例#2
0
        public override void gameWindowSizeChanged(Rectangle oldBounds, Rectangle newBounds)
        {
            if (!(Game1.activeClickableMenu is BubblesMenu))
            {
                return;
            }

            Game1.activeClickableMenu = new BubblesMenu(_config);
            _previousMenu?.gameWindowSizeChanged(oldBounds, newBounds);
        }