Drops class

Constructors

Drops({double sy = 0.22, double g = 820.0, double drag = 0.35, void onLand(WaterDrop drop)?})

Properties

count → int
no setter
drag → double
final
g → double
final
hashCode → int
The hash code for this object.
no setterinherited
list → List<WaterDrop>
final
onLand → void Function(WaterDrop drop)?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sy → double
final

Methods

add(WaterDrop d) → void
draw(Painter p, List<int> c, [String layer = 'all']) → void
Draw drops behind z = 0 ('back'), in front ('front'), or all ('all').
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