Exemple #1
0
 public void ClearKeyCache()
 {
     KeysPressed.Clear();
     KeysReleased.Clear();
     MousePressed    = MouseButtons.None;
     MouseReleased   = MouseButtons.None;
     MouseWheelDelta = 0;
 }
Exemple #2
0
 public void ClearKeyCache()
 {
     KeysPressed.Clear();
     KeysReleased.Clear();
     MousePressed    = MouseButtonFlags.None;
     MouseWheelDelta = 0;
     _mouseDelta.X   = 0;
     _mouseDelta.Y   = 0;
 }
Exemple #3
0
 public void Update(GameTime gameTime)
 {
     MouseReleased = MouseButtons.None;
     KeysReleased.Clear();
 }