Puffs class

Violet flame and dark smoke puffs.

Constructors

Puffs({required Rng rng, required List<Object> flame, required List<Object> soot, required Object cap, required List<Object> rim, double floor(double x)?})

Properties

cap → int
final
count → int
no setter
F → List<int>
final
floor → double Function(double x)?
final
hashCode → int
The hash code for this object.
no setterinherited
list → List<Puff>
final
R → Rng
final
rim → List<int>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
soot → List<int>
final
t ↔ double
getter/setter pair

Methods

draw(Painter p, PuffKind kind, [PuffLight? light]) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
spawn(PuffKind k, double x, double y, double vx, double vy, double life, double size, [double delay = 0, bool smokes = false]) → void
toString() → String
A string representation of this object.
inherited
update(double dt) → void

Operators

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