Example #1
0
File: Game.cs Project: 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;
 }
Example #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;
 }