public void OnKeyPressed(object sender, KeyboardEventArgs e) { m_KeyBindings[e.Key]?.Invoke(eButtonState.PRESSED, new Vector2(1.0f)); }
public void OnKeyUp(object sender, KeyboardEventArgs e) { m_KeyBindings[e.Key]?.Invoke(eButtonState.UP, new Vector2(1.0f)); }