Exemple #1
0
        public TetrisGame()
        {
            graphics = new GraphicsDeviceManager(this);
            graphics.PreferredBackBufferWidth = 480;
            graphics.PreferredBackBufferHeight = 800;
            //graphics.IsFullScreen = true;

            Content.RootDirectory = "Content";

            input = new Input();
            grid = new PlayingGrid(12, 20);
        }
Exemple #2
0
 public PlayingState()
 {
     updateTime = 500;
     grid = new PlayingGrid(new Vector2(0, 50), 12, 20);
 }