title: How to save one click if key is pressed?
body: <p>When I hold the key <kbd>A</kbd>, bears explode <strong>all the time</strong>. </p>
  
  <p>What I want, is when I click <strong>once</strong> explode only <strong>one</strong>, and wait for another press to explode another one.</p>
  
  <pre><code>        KeyboardState board = Keyboard.GetState();
          int newRandomX = rand.Next(800);
          int newRandomY = rand.Next(600);
          float newVelocityX = rand.Next(-5,5);
          float newVelocityY = rand.Next(-5,5);
          Vector2 myVector = new Vector2(newVelocityX, newVelocityY);
          if (bear0.Active &amp;&amp; board.IsKeyDown(Keys.A))
          {
              bear0.Active = false;
              boom.Play(bear0.DrawRectangle.Center.X, bear0.DrawRectangle.Center.Y);
          }
          else if (bear1.Active &amp;&amp; board.IsKeyDown(Keys.B) &amp;&amp; !oldState.IsKeyDown(Keys.B))
          {
              bear1.Active = false;
              boom.Play(bear1.DrawRectangle.Center.X, bear1.DrawRectangle.Center.Y);
          }
          else if (!bear1.Active)
          {
              bear1 = new TeddyBear(Content, WINDOW_WIDTH, WINDOW_HEIGHT, "teddybear1", newRandomX, newRandomY, myVector);
          }
          else if (!bear0.Active)
          {
              bear0 = new TeddyBear(Content, WINDOW_WIDTH, WINDOW_HEIGHT, "teddybear0", newRandomX, newRandomY, myVector);
          }
          board = oldState;
          bear0.Update();
          bear1.Update();
          boom.Update(gameTime);
  </code></pre>