Interface ParticleDestructionListener


public interface ParticleDestructionListener
Author:
Daniel Murphy
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    sayGoodbye(int index)
    Called when a particle is about to be destroyed.
    void
    Called when any particle group is about to be destroyed.
  • Method Details

    • sayGoodbye

      void sayGoodbye(ParticleGroup group)
      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 with World.getParticleUserDataBuffer() to determine which particle has been destroyed.