FireParticleLayer class
- Inheritance
-
- Object
- ParticleLayer<
FireParticle> - FireParticleLayer
Constructors
- FireParticleLayer(double screenX, double screenY)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDead → bool
-
This effect last 3s and then disapears
no setteroverride
- needsAfter → bool
-
no setterinherited
- needsBefore → bool
-
To optimize I'll provide these options
Not all system need before/after and per-particle paint
no setterinherited
- needsParticlePaint → bool
-
no setterinherited
-
particles
→ List<
FireParticle> -
Particles we are going to render
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenX → double
-
final
- screenY → double
-
final
- time ↔ double
-
Current runtime of this layer
getter/setter pairinherited
Methods
-
after(
Canvas canvas, Size size) → void -
After we draw this layer
override
-
before(
Canvas canvas, Size size) → void -
Before we draw this layer
override
-
drawParticle(
Canvas canvas, Size size, FireParticle particle) → void -
During
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
step(
double d) → void -
Track the time a Layer has been active
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited