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

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

            score = new Score();
        }
コード例 #2
0
ファイル: Game1.cs プロジェクト: TheRealColbyMarquez/Home
        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();
        }