Beispiel #1
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;
 }
Beispiel #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;
 }