Package org.jbox2d.callbacks
Interface ParticleDestructionListener
public interface ParticleDestructionListener
- Author:
- Daniel Murphy
-
Method Summary
Modifier and TypeMethodDescriptionvoidsayGoodbye(int index) Called when a particle is about to be destroyed.voidsayGoodbye(ParticleGroup group) Called when any particle group is about to be destroyed.
-
Method Details
-
sayGoodbye
Called when any particle group is about to be destroyed. -
sayGoodbye
void sayGoodbye(int index) Called when a particle is about to be destroyed. The index can be used in conjunction withWorld.getParticleUserDataBuffer()to determine which particle has been destroyed.
-