first commit

This commit is contained in:
LunarAkai 2024-03-19 23:25:18 +01:00
commit 63354c563f
19 changed files with 885 additions and 0 deletions

View file

@ -0,0 +1,29 @@
package de.lunarakai.minecleaner.game;
import org.joml.Vector3i;
public class Cell {
public enum CellType {
Invalid,
Empty,
Mine,
Number,
}
public Vector3i position;
public CellType type;
public int number;
public boolean revealed;
public boolean flagged;
public boolean exploded;
public void setType(CellType type) {
this.type = type;
}
public CellType getType() {
return type;
}
}