/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }
public Grid(Game1 game, int n, int h) { this.game = game; this.width = n; this.height = h; this.blocks = new List<Block>(); this.currentBlock = null; this.ground = new int[width, width]; }