change BaseMenu to BaseView
Some checks failed
Linux arm64 / Build (push) Failing after 5m2s

This commit is contained in:
2025-01-23 14:41:40 +01:00
parent 749f5c831d
commit 7ab1173fb3
8 changed files with 119 additions and 21 deletions

View File

@@ -2,7 +2,7 @@ package gui.menu;
import imgui.ImGui;
public class SoloMenu extends BaseMenu {
public class SoloMenu extends BaseView {
public SoloMenu(StateMachine stateMachine) {
super(stateMachine);
@@ -12,6 +12,9 @@ public class SoloMenu extends BaseMenu {
public void render() {
// TODO Auto-generated method stub
ImGui.text("Solo");
if (ImGui.button("Résoudre un sudoku")) {
this.stateMachine.pushState(new SudokuView(stateMachine, 3));
}
renderReturnButton();
}