예제 #1
0
        public static void Open()
        {
            var menu = new WarpMenu();

            Game1.activeClickableMenu = new WarpMenu();
            menu.BaseMenu.UpdateBounds();
        }
예제 #2
0
        private void Input_ButtonPressed(object sender, ButtonPressedEventArgs e)
        {
            e.Button.TryGetKeyboard(out Keys keyPressed);

            if (e.Button != config.MenuButton)
            {
                return;
            }

            if (Context.IsWorldReady)
            {
                WarpMenu.Open();
            }
        }