Přidány základy uživatelského rozhraní a testovací textury. Aktualizovaná Monogame library pro podporu myši
This commit is contained in:
parent
4561e254d4
commit
b968b12090
9 changed files with 184 additions and 11 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue