Example #1
0
        protected Game1(SpaceBeansGame game)
        {
            this.game = game;

            graphics = new GraphicsDeviceManager(this);
            graphics.SupportedOrientations = DisplayOrientation.Portrait;

            Content.RootDirectory = "Content";
            graphics.IsFullScreen = false;
            graphics.PreferredBackBufferHeight = 700;
            graphics.PreferredBackBufferWidth = 480;
            this.IsMouseVisible = true;

            #if WINDOWS_PHONE || IOS || ANDROID
            TargetElapsedTime = TimeSpan.FromTicks(333333);
            graphics.IsFullScreen = true;
            #endif
        }
Example #2
0
 public DesktopGame(SpaceBeansGame game)
     : base(game)
 {
 }
Example #3
0
 public MobileGame(SpaceBeansGame game)
     : base(game)
 {
 }