예제 #1
0
파일: Game.cs 프로젝트: Emp3r/School
 public Game(int w, int h, int dificulty)
 {
     this.width = w;
     this.height = h;
     this.board = new Board(width, height, dificulty);
     this.clearFields = board.GetAllClearFields();
     this.cleared = 0;
     this.win = false;
     this.loose = false;
 }
예제 #2
0
 public Game(int w, int h, int dificulty)
 {
     this.width       = w;
     this.height      = h;
     this.board       = new Board(width, height, dificulty);
     this.clearFields = board.GetAllClearFields();
     this.cleared     = 0;
     this.win         = false;
     this.loose       = false;
 }