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