feat: add difficulty setting

This commit is contained in:
Martin Prokoph
2025-06-28 00:01:00 +02:00
parent 2ca0fcfd86
commit 41af446f94
6 changed files with 44 additions and 17 deletions

View File

@@ -0,0 +1,14 @@
package eu.midnightdust.yaytris.util;
public enum Difficulty {
NOOB(2000), EASY(1200), NORMAL(1000), HARD(750), EXTREME(500), WTF(100);
private final int timerPeriod;
Difficulty(int timerPeriod) {
this.timerPeriod = timerPeriod;
}
public int getTimerPeriod() {
return timerPeriod;
}
}