ParticleType class

The particle type. Can be combined with | operator. Zero means liquid.

Constructors

ParticleType()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

colorMixingParticle → const int
mixing color between contacting particles
destroyListener → const int
call the destroy listener on destruction
elasticParticle → const int
with restitution from deformation
powderParticle → const int
without isotropic pressure
springParticle → const int
with restitution from stretching
tensileParticle → const int
with surface tension
viscousParticle → const int
with viscosity
wallParticle → const int
zero velocity
waterParticle → const int
zombieParticle → const int
removed after next step