package dev.kske.minesweeper; import java.io.Serializable; /** * Defines board configuration consisting of board with and height as well as mine count. *

* Project: Minesweeper
* File: BoardConfig.java
* Created: 01.04.2019
* Author: Kai S. K. Engelbart */ public class BoardConfig implements Serializable { private static final long serialVersionUID = -6083006887427383946L; public static final BoardConfig EASY = new BoardConfig(8, 8, 10), MEDIUM = new BoardConfig(16, 16, 40), HARD = new BoardConfig(30, 16, 99); public final int width, height, mines; public BoardConfig(int width, int height, int mines) { this.width = width; this.height = height; this.mines = mines; } }