Class ParticleType

java.lang.Object
org.jbox2d.particle.ParticleType

public class ParticleType extends Object
The particle type. Can be combined with | operator. Zero means liquid.
Author:
Daniel Murphy
  • Field Details

    • waterParticle

      public static final int waterParticle
      See Also:
    • zombieParticle

      public static final int zombieParticle
      removed after next step
      See Also:
    • wallParticle

      public static final int wallParticle
      zero velocity
      See Also:
    • springParticle

      public static final int springParticle
      with restitution from stretching
      See Also:
    • elasticParticle

      public static final int elasticParticle
      with restitution from deformation
      See Also:
    • viscousParticle

      public static final int viscousParticle
      with viscosity
      See Also:
    • powderParticle

      public static final int powderParticle
      without isotropic pressure
      See Also:
    • tensileParticle

      public static final int tensileParticle
      with surface tension
      See Also:
    • colorMixingParticle

      public static final int colorMixingParticle
      mixing color between contacting particles
      See Also:
    • destructionListener

      public static final int destructionListener
      call b2DestructionListener on destruction
      See Also:
  • Constructor Details

    • ParticleType

      public ParticleType()