Add selectNext

This commit is contained in:
Felix Koppe
2024-12-11 13:56:55 +01:00
parent c069a61f2d
commit 170a282077
2 changed files with 5 additions and 1 deletions

View File

@@ -144,6 +144,10 @@ public void enter(MdgaState state) {
//app.enter(state); //app.enter(state);
} }
public void next() {
app.getGameLogic().selectNext();
}
public void setSwap(boolean swap) { public void setSwap(boolean swap) {
this.swap = swap; this.swap = swap;
} }

View File

@@ -184,7 +184,7 @@ public void forward() {
enterSub(SubState.STATISTICS); enterSub(SubState.STATISTICS);
break; break;
case STATISTICS: case STATISTICS:
app.getModelSynchronize().enter(MdgaState.MAIN); app.getModelSynchronize().next();
break; break;
} }
} }