Renderování textu, jumpscary, win a lose screen
This commit is contained in:
parent
9bfe63a166
commit
e6128dc9f5
21 changed files with 360 additions and 84 deletions
|
|
@ -19,10 +19,14 @@ public class CommandManager {
|
|||
("Toggle back door", Keys.S, ToggleDoorBack)
|
||||
];
|
||||
|
||||
private static InputListenerHook toggleCamHook = new(true);
|
||||
private static InputListenerHook allControlsHook{ get; } = 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, allControlsHook));
|
||||
}
|
||||
|
||||
public static void AllowInput(bool state) {
|
||||
allControlsHook.Enabled = state;
|
||||
}
|
||||
|
||||
private static void SendToggleCamera() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue