Package org.jbox2d.particle
Class ParticleType
java.lang.Object
org.jbox2d.particle.ParticleType
The particle type. Can be combined with | operator. Zero means liquid.
- Author:
- Daniel Murphy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intmixing color between contacting particlesstatic final intcall b2DestructionListener on destructionstatic final intwith restitution from deformationstatic final intwithout isotropic pressurestatic final intwith restitution from stretchingstatic final intwith surface tensionstatic final intwith viscositystatic final intzero velocitystatic final intstatic final intremoved after next step -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
waterParticle
public static final int waterParticle- See Also:
-
zombieParticle
public static final int zombieParticleremoved after next step- See Also:
-
wallParticle
public static final int wallParticlezero velocity- See Also:
-
springParticle
public static final int springParticlewith restitution from stretching- See Also:
-
elasticParticle
public static final int elasticParticlewith restitution from deformation- See Also:
-
viscousParticle
public static final int viscousParticlewith viscosity- See Also:
-
powderParticle
public static final int powderParticlewithout isotropic pressure- See Also:
-
tensileParticle
public static final int tensileParticlewith surface tension- See Also:
-
colorMixingParticle
public static final int colorMixingParticlemixing color between contacting particles- See Also:
-
destructionListener
public static final int destructionListenercall b2DestructionListener on destruction- See Also:
-
-
Constructor Details
-
ParticleType
public ParticleType()
-