예제 #1
0
        public void LoginInitialize()
        {
            mainMenu     = new MainMenu();
            settingsMenu = new SettingsMenu();
            settingsMenu.Initialize(Content);
            mainMenu.Initialize(Content);
            deckMenu = new DeckMenu();
            deckMenu.Initialize(Content);
            gameWindow = new Client_PC.Scenes.GameWindow();
            gameWindow.Initialize(Content);
            shopMenu = new ShopMenu();
            shopMenu.Initialize(Content);
            fleetMenu = new FleetMenu();
            fleetMenu.Initialize(Content);
            cardsMenu = new CardsMenu();
            cardsMenu.Initialize(Content);
            menus.Add(mainMenu);
            menus.Add(settingsMenu);
            menus.Add(deckMenu);
            menus.Add(gameWindow);
            menus.Add(shopMenu);
            menus.Add(fleetMenu);
            menus.Add(cardsMenu);

            settingsMenu.SetMenus(menus);
        }