示例#1
0
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            Board = new int[BoardWidth, BoardHeight];
            ElapsedTime = 0;

            score = new Score();
        }
示例#2
0
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            graphics.PreferredBackBufferHeight = 440;
            graphics.PreferredBackBufferWidth = 800;
            Board = new int[BoardWidth, BoardHeight];
            ElapsedTime = 0;

            score = new Score();
        }