Example #1
0
        /// <summary>
        /// Allows the game to perform any initialization it needs to before starting to run.
        /// This is where it can query for any required services and load any non-graphic
        /// related content.  Calling base.Initialize will enumerate through any components
        /// and initialize them as well.
        /// </summary>
        protected override void Initialize()
        {
            // TODO: Add your initialization logic here
            MiniGameManager.AddMiniGame(new KeyboardGame());
            MiniGameManager.AddMiniGame(new DabGame());

            base.Initialize();
        }
Example #2
0
        /// <summary>
        /// Allows the game to perform any initialization it needs to before starting to run.
        /// This is where it can query for any required services and load any non-graphic
        /// related content.  Calling base.Initialize will enumerate through any components
        /// and initialize them as well.
        /// </summary>
        protected override void Initialize()
        {
            // If you want the game to only play your minigame in order to test it, please remove every other game and add only yours to MiniGameManager
            // MiniGameManager.AddMiniGame(TemplateGame));
            MiniGameManager.AddMiniGame(new KeyboardGame());
            MiniGameManager.AddMiniGame(new DabGame());
            MiniGameManager.AddMiniGame(new TaupeGame());

            base.Initialize();
        }
Example #3
0
        /// <summary>
        /// Allows the game to perform any initialization it needs to before starting to run.
        /// This is where it can query for any required services and load any non-graphic
        /// related content.  Calling base.Initialize will enumerate through any components
        /// and initialize them as well.
        /// </summary>
        protected override void Initialize()
        {
            // If you want the game to only play your minigame in order to test it, please remove every other game and add only yours to MiniGameManager
            //MiniGameManager.AddMiniGame(new TemplateGame());
            MiniGameManager.AddMiniGame(new PizzaGame());
            MiniGameManager.AddMiniGame(new KeyboardGame());
            MiniGameManager.AddMiniGame(new DabGame());
            MiniGameManager.AddMiniGame(new TaupeGame());
            MiniGameManager.AddMiniGame(new BananeGame());
            MiniGameManager.AddMiniGame(new GordonMinerGame());
            MiniGameManager.AddMiniGame(new ChooseServiceGame());
            MiniGameManager.AddMiniGame(new RecognitionGame());

            base.Initialize();
        }