public bool WasKeyReleased(Keys key) { return previousState.IsKeyDown(key) && currentState.IsKeyUp(key); }
public bool IsKeyDown(Keys key) { return currentState.IsKeyDown(key); }
public bool WasKeyReleased(Keys key) { return(previousState.IsKeyDown(key) && currentState.IsKeyUp(key)); }
public bool IsKeyDown(Keys key) { return(currentState.IsKeyDown(key)); }
void platform_KeyReleased(SharpDX.Toolkit.Input.Keys key) { pressedKeys.Remove(key); }
void platform_KeyPressed(SharpDX.Toolkit.Input.Keys key) { pressedKeys.Add(key); }