public void restart(int rows, int columns, int mineNumber){
		if(this.rows == rows && this.columns == columns && this.mineNumber == mineNumber){
			for(int i=0;i<columns;i++){
				for(int j=0;j<rows;j++){
					cells[i][j].reset();
				}
			}
		}
		else{
			this.rows = rows;
			this.columns = columns;
			this.mineNumber = mineNumber;
			//this.type = type;
			cells = new FieldCell[columns][rows];
			for(int i=0;i<columns;i++){
				for(int j=0;j<rows;j++){
					cells[i][j] = new FieldCell();
				}
			}
		}
		mine();
		setMineNumbers();
		timer.stop();
		time = 0;
		moved = 0;
		revealedMineCount = 0;
		freezed = false;
		isNewGame = false;
		notifyRestart();
	}