dynamically allocate values

This commit is contained in:
Johannes Schmelz
2024-11-23 17:41:20 +01:00
parent 09b363f943
commit 885ab5bdc9
3 changed files with 36 additions and 22 deletions

View File

@@ -5,7 +5,7 @@ import com.jme3.math.ColorRGBA;
/**
* Enum representing eight distinct colors for properties in the game.
*/
enum FieldColor {
public enum FieldColor {
BROWN(new ColorRGBA(148 / 255f, 86 / 255f, 57 / 255f, 1)),
GREEN(new ColorRGBA(30 / 255f, 179 / 255f, 90 / 255f, 1)),
YELLOW(new ColorRGBA(252 / 255f, 241 / 255f, 1 / 255f, 1)),