Sha256: 8a93b41e595d511dcd6cac3ec7604a2db97cb469c225b5c80e466c6b517dd582

Contents?: true

Size: 545 Bytes

Versions: 7

Compression:

Stored size: 545 Bytes

Contents

package org.jbox2d.callbacks;

import org.jbox2d.dynamics.World;
import org.jbox2d.particle.ParticleGroup;

public interface ParticleDestructionListener {
  /**
   * Called when any particle group is about to be destroyed.
   * @param group
   */
  void sayGoodbye(ParticleGroup group);

  /**
   * Called when a particle is about to be destroyed. The index can be used in conjunction with
   * {@link World#getParticleUserDataBuffer} to determine which particle has been destroyed.
   * 
   * @param index
   */
  void sayGoodbye(int index);
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pbox2d-1.0.3-java src/org/jbox2d/callbacks/ParticleDestructionListener.java
pbox2d-1.0.2-java src/org/jbox2d/callbacks/ParticleDestructionListener.java
pbox2d-1.0.1-java src/org/jbox2d/callbacks/ParticleDestructionListener.java
pbox2d-1.0.0-java src/org/jbox2d/callbacks/ParticleDestructionListener.java
pbox2d-0.9.1-java src/org/jbox2d/callbacks/ParticleDestructionListener.java
pbox2d-0.9.0-java src/org/jbox2d/callbacks/ParticleDestructionListener.java
pbox2d-0.8.0-java src/org/jbox2d/callbacks/ParticleDestructionListener.java