This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user