update menu + block placing visualization + add move history

This commit is contained in:
2026-02-25 12:43:32 +01:00
parent 3f8274f1d9
commit 82d618f692
5 changed files with 82 additions and 30 deletions

View File

@ -155,6 +155,10 @@ auto InputHandler::HandleKeys() -> void {
state.NextPath();
} else if (IsKeyPressed(KEY_V)) {
state.GoToWorst();
} else if (IsKeyPressed(KEY_B)) {
state.GoToNearestTarget();
} else if (IsKeyPressed(KEY_BACKSPACE)) {
state.PopHistory();
} else if (IsKeyPressed(KEY_F)) {
state.current_state.ToggleRestricted();
state.ClearGraph();