Přidány základy uživatelského rozhraní a testovací textury. Aktualizovaná Monogame library pro podporu myši

This commit is contained in:
Perry 2026-01-15 19:56:50 +01:00
parent 4561e254d4
commit b968b12090
9 changed files with 184 additions and 11 deletions

View file

@ -14,7 +14,7 @@ public class CommandManager {
private static InputListenerHook toggleCamHook = new(true);
public static void InitInputListeners() {
Array.ForEach(keybinds, tuple => InputManager.AddListener(tuple.label, tuple.key, _ => tuple.action(), InputTiming.PRESS, toggleCamHook));
Array.ForEach(keybinds, tuple => InputManager.AddListener(tuple.label, tuple.key, () => tuple.action(), InputTiming.PRESS, toggleCamHook));
}
private static void ToggleCamera() {