Esempio n. 1
0
        public Game()
        {
            // Create Singletons
            game = this;
            input = new Input();
            multiplayer = new Multiplayer();

            // Graphics Properties
            graphics = new GraphicsDeviceManager(this);
            graphics.PreferredBackBufferWidth = WINDOW_WIDTH;
            graphics.PreferredBackBufferHeight = WINDOW_HEIGHT;
            graphics.IsFullScreen = false;

            Content.RootDirectory = "Content";

            // Window Properties
            this.IsMouseVisible = true;
            this.Window.Title = "Evolution: Tug of War";
            this.Window.AllowUserResizing = false;
        }
Esempio n. 2
0
        public Game()
        {
            // Create Singletons
            game        = this;
            input       = new Input();
            multiplayer = new Multiplayer();

            // Graphics Properties
            graphics = new GraphicsDeviceManager(this);
            graphics.PreferredBackBufferWidth  = WINDOW_WIDTH;
            graphics.PreferredBackBufferHeight = WINDOW_HEIGHT;
            graphics.IsFullScreen = false;

            Content.RootDirectory = "Content";

            // Window Properties
            this.IsMouseVisible           = true;
            this.Window.Title             = "Evolution: Tug of War";
            this.Window.AllowUserResizing = false;
        }