Feathers class

Loose feathers that are thrown, brake hard, then rock like a pendulum as they sink.

Constructors

Feathers(Rng r, [double floor = 0.0])

Properties

count → int
no setter
floor → double
final
hashCode → int
The hash code for this object.
no setterinherited
list → List<FeatherItem>
final
r → Rng
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add({required double x, required double y, double vx = 0.0, double vy = 0.0, double a = 0.0, double len = 7.0, double wid = 2.0, required double life, double delay = 0.0, bool back = false, int? side, double? ph, double? w, double? amp, double? sink, double? va, double? tilt}) → void
draw(Painter p, List<int> rampColors, [String? layer]) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
update(double dt) → void

Operators

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