@Override
  public void keyPressed(char key, int argKeyCode) {
    switch (key) {
      case 'b':
        for (int i = 0; i < 4; ++i) {
          if (m_bodies[i] != null) {
            getWorld().destroyBody(m_bodies[i]);
            m_bodies[i] = null;
            break;
          }
        }
        break;

      case 'j':
        for (int i = 0; i < 8; ++i) {
          if (m_joints[i] != null) {
            getWorld().destroyJoint(m_joints[i]);
            m_joints[i] = null;
            break;
          }
        }
        break;
    }
  }