예제 #1
0
파일: Program.cs 프로젝트: pascalaldo/5ES03
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
예제 #2
0
파일: Grid.cs 프로젝트: pascalaldo/5ES03
 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];
 }