/** * Destroy particles in a group. This function is locked during callbacks. * * @param The particle group to destroy. * @param Whether to call the world b2DestructionListener for each particle is destroyed. * @warning This function is locked during callbacks. */ public void destroyParticlesInGroup(ParticleGroup group, boolean callDestructionListener) { assert (isLocked() == false); if (isLocked()) { return; } m_particleSystem.destroyParticlesInGroup(group, callDestructionListener); }
/** * Destroy particles in a group. This function is locked during callbacks. * * @param The particle group to destroy. * @param Whether to call the world b2DestructionListener for each particle is destroyed. * @warning This function is locked during callbacks. */ public void destroyParticlesInGroup(ParticleGroup group, boolean callDestructionListener) { assert (isLocked() == false); if (isLocked()) { return; } m_particleSystem.destroyParticlesInGroup(group, callDestructionListener); }
/** * Destroy particles in a group. This function is locked during callbacks. * * @param group the particle group to destroy. * @param callDestructionListener Whether to call the world b2DestructionListener for each particle is destroyed. */ public void destroyParticlesInGroup(ParticleGroup group, boolean callDestructionListener) { assertNotLocked(); particleSystem.destroyParticlesInGroup(group, callDestructionListener); }
/** * Destroy particles in a group. This function is locked during callbacks. * * @param The particle group to destroy. * @param Whether to call the world b2DestructionListener for each particle is destroyed. * @warning This function is locked during callbacks. */ public void destroyParticlesInGroup(ParticleGroup group, boolean callDestructionListener) { assert (isLocked() == false); if (isLocked()) { return; } m_particleSystem.destroyParticlesInGroup(group, callDestructionListener); }