示例#1
0
        public void loadTeamSelect(Vector2 pos, MouseKeyBinding.MouseButton mouseButton)
        {
            menuUnload();

            PlayerSelect = new PlayerSelection(engine, gui);

            PlayerSelect.LoadGuiElements();

            StartLabel = new GUILabel(gui, new Handle(engine.resourceComponent, "Menu/Start.png"));
            StartLabel.mouseClickEvent += startGame;
            StartLabel.pos              = new Vector2(width / 2 - 110, height - 96);
            gui.add(StartLabel);
        }