Beispiel #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);
        }
Beispiel #2
0
 public PlayingState()
 {
     updateTime = 500;
     grid = new PlayingGrid(new Vector2(0, 50), 12, 20);
 }