congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
ParticleSystem.destroyParticle
Code IndexAdd Tabnine to your IDE (free)

How to use
destroyParticle
method
in
org.jbox2d.particle.ParticleSystem

Best Java code snippets using org.jbox2d.particle.ParticleSystem.destroyParticle (Showing top 12 results out of 315)

origin: libgdx/libgdx

/**
 * Destroy a particle. The particle is removed after the next step.
 * 
 * @param Index of the particle to destroy.
 * @param Whether to call the destruction listener just before the particle is destroyed.
 */
public void destroyParticle(int index, boolean callDestructionListener) {
 m_particleSystem.destroyParticle(index, callDestructionListener);
}
origin: libgdx/libgdx

public void destroyParticlesInGroup(ParticleGroup group, boolean callDestructionListener) {
 for (int i = group.m_firstIndex; i < group.m_lastIndex; i++) {
  destroyParticle(i, callDestructionListener);
 }
}
origin: libgdx/libgdx

 @Override
 public boolean reportParticle(int index) {
  assert (index >= 0 && index < system.m_count);
  if (shape.testPoint(xf, system.m_positionBuffer.data[index])) {
   system.destroyParticle(index, callDestructionListener);
   destroyed++;
  }
  return true;
 }
}
origin: jbox2d/jbox2d

/**
 * Destroy a particle. The particle is removed after the next step.
 * 
 * @param Index of the particle to destroy.
 * @param Whether to call the destruction listener just before the particle is destroyed.
 */
public void destroyParticle(int index, boolean callDestructionListener) {
 m_particleSystem.destroyParticle(index, callDestructionListener);
}
origin: jbox2d/jbox2d

public void destroyParticlesInGroup(ParticleGroup group, boolean callDestructionListener) {
 for (int i = group.m_firstIndex; i < group.m_lastIndex; i++) {
  destroyParticle(i, callDestructionListener);
 }
}
origin: jbox2d/jbox2d

 @Override
 public boolean reportParticle(int index) {
  assert (index >= 0 && index < system.m_count);
  if (shape.testPoint(xf, system.m_positionBuffer.data[index])) {
   system.destroyParticle(index, callDestructionListener);
   destroyed++;
  }
  return true;
 }
}
origin: andmizi/MobikeTags

public void destroyParticlesInGroup(ParticleGroup group, boolean callDestructionListener) {
 for (int i = group.m_firstIndex; i < group.m_lastIndex; i++) {
  destroyParticle(i, callDestructionListener);
 }
}
origin: com.github.almasb/fxgl-physics

/**
 * Destroy a particle. The particle is removed after the next step.
 *
 * @param index of the particle to destroy
 * @param callDestructionListener whether to call the destruction listener just before the particle is destroyed
 */
public void destroyParticle(int index, boolean callDestructionListener) {
  particleSystem.destroyParticle(index, callDestructionListener);
}
origin: andmizi/MobikeTags

/**
 * Destroy a particle. The particle is removed after the next step.
 * 
 * @param Index of the particle to destroy.
 * @param Whether to call the destruction listener just before the particle is destroyed.
 */
public void destroyParticle(int index, boolean callDestructionListener) {
 m_particleSystem.destroyParticle(index, callDestructionListener);
}
origin: com.github.almasb/fxgl-physics

public void destroyParticlesInGroup(ParticleGroup group, boolean callDestructionListener) {
  for (int i = group.m_firstIndex; i < group.m_lastIndex; i++) {
    destroyParticle(i, callDestructionListener);
  }
}
origin: andmizi/MobikeTags

 @Override
 public boolean reportParticle(int index) {
  assert (index >= 0 && index < system.m_count);
  if (shape.testPoint(xf, system.m_positionBuffer.data[index])) {
   system.destroyParticle(index, callDestructionListener);
   destroyed++;
  }
  return true;
 }
}
origin: com.github.almasb/fxgl-physics

  @Override
  public boolean reportParticle(int index) {
    assert (index >= 0 && index < system.m_count);
    if (shape.testPoint(xf, system.m_positionBuffer.data[index])) {
      system.destroyParticle(index, callDestructionListener);
      destroyed++;
    }
    return true;
  }
}
org.jbox2d.particleParticleSystemdestroyParticle

Popular methods of ParticleSystem

  • <init>
  • RotateBuffer
  • addContact
  • computeDepthForGroup
  • computeParticleCollisionEnergy
  • computeRelativeTag
  • computeTag
  • createParticle
  • createParticleGroup
  • destroyParticleGroup
  • destroyParticlesInGroup
  • destroyParticlesInShape
  • destroyParticlesInGroup,
  • destroyParticlesInShape,
  • getCriticalPressure,
  • getCriticalVelocity,
  • getCriticalVelocitySquared,
  • getParticleColorBuffer,
  • getParticleCount,
  • getParticleDamping,
  • getParticleDensity

Popular in Java

  • Finding current android device location
  • onRequestPermissionsResult (Fragment)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getExternalFilesDir (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now