Beispiel #1
0
        protected void SetUp()
        {
            IGameManager manager = new GameManager
                                   (
                ButtonManager,
                CollisionManager,
                ConfigManager,
                ContentManager,
                DeviceManager,
                ImageManager,
                InputManager,
                QuestionManager,
                RandomManager,
                ResolutionManager,
                ScoreManager,
                ScreenManager,
                SoundManager,
                SpriteManager,
                StorageManager,
                TextManager,
                ThreadManager,
                FileManager,
                Logger
                                   );

            MyGame.Construct(manager);
        }
Beispiel #2
0
        protected void SetUp()
        {
            IGameManager manager = new GameManager
                                   (
                AnimationManager,
                CollisionManager,
                ConfigManager,
                ContentManager,
                EnemysManager,
                InputManager,
                LevelManager,
                PlayerManager,
                PhysicsManager,
                RandomManager,
                ResolutionManager,
                ScreenManager,
                SoundManager,
                ScrollManager,
                StateManager,
                TileManager,
                FileManager,
                Logger
                                   );

            MyGame.Construct(manager);
        }
Beispiel #3
0
#pragma warning restore 618
        public void TestFixtureSetUp()
        {
            Registration.Initialize();
            IoCContainer.Initialize <IFileProxy, TestFileProxy>();

            IGameManager manager = GameFactory.Resolve();

            MyGame.Construct(manager);
        }
Beispiel #4
0
        protected void SetUp()
        {
            IGameManager manager = new GameManager
                                   (
                BossManager,
                BulletManager,
                CollisionManager,
                CommandManager,
                ConfigManager,
                ContentManager,
                ControlManager,
                DebugManager,
                DelayManager,
                DeviceManager,
                EnemyManager,
                EventManager,
                ExplosionManager,
                IconManager,
                ImageManager,
                InputManager,
                LevelManager,
                MoverManager,
                RandomManager,
                RenderManager,
                ResolutionManager,
                ScoreManager,
                ScreenManager,
                SoundManager,
                SpriteManager,
                StateManager,
                StopwatchManager,
                StorageManager,
                TextManager,
                ThreadManager,
                FileManager,
                Logger
                                   );

            MyGame.Construct(manager);
        }