title: Remove an object if it overlaps another object libgdx
body: <p>I'm new at libgdx and Android game development. so I need your help.
  I have code that detects collisions. I use the rectangle method.
  If objectA overlaps objectB then I want that objectA get destroyed.</p>
  
  <p>this is my code for now:</p>
  
  <pre><code>if (objectA.getBounds().overlaps(objectB.getBounds())) {
          System.out.println("Collsion Detected!");
          }
  </code></pre>
  
  <p>System.out.println works fine.
  But i don't know how i can "delete" objectA if it overlaps. </p>
  
  <p>Thanks</p>