better network structure
Some checks failed
Linux arm64 / Build (push) Has been cancelled

This commit is contained in:
2025-01-23 22:24:23 +01:00
parent 5e99cd92df
commit bfe98a2cf0
22 changed files with 248 additions and 93 deletions

View File

@@ -27,7 +27,7 @@ public class StateMachine {
}
public void popState() {
menus.getLast().onKill();
menus.get(menus.size() - 1).onKill();
menus.pop();
}
@@ -43,7 +43,7 @@ public class StateMachine {
ImGui.setNextWindowSize(displaySize);
ImGui.begin("##Main Window", null, ImGuiWindowFlags.NoDecoration | ImGuiWindowFlags.NoMove
| ImGuiWindowFlags.NoSavedSettings | ImGuiWindowFlags.NoBackground);
menus.getLast().render();
menus.get(menus.size() - 1).render();
ImGui.end();
checkEscape();
}