Esempio n. 1
0
        public AnGame()
        {
            graphics = new GraphicsDeviceManager(this);
            Registration.Initialize();

            var manager = GameFactory.Resolve();

            MyGame.Construct(manager);
        }
Esempio n. 2
0
        public AnGame()
        {
            graphics = new GraphicsDeviceManager(this);
#if WINDOWS_PHONE_APP
            graphics.SupportedOrientations = DisplayOrientation.LandscapeLeft | DisplayOrientation.LandscapeRight;
#endif
            Registration.Initialize();

            var manager = GameFactory.Resolve();
            MyGame.Construct(manager);
        }
Esempio n. 3
0
        public AnGame()
        {
            graphics = new GraphicsDeviceManager(this)
            {
                SupportedOrientations = DisplayOrientation.LandscapeLeft
            };
            Registration.Initialize();

            var manager = GameFactory.Resolve();

            MyGame.Construct(manager);
        }