Drops class

Droplets of liquid: arc under gravity with a little drag, drawn as a bright bead with a short tail along their motion, and land on the floor.

Constructors

Drops([double ground(double x)?])

Properties

ground → double Function(double x)
final
hashCode → int
The hash code for this object.
no setterinherited
list → List<Drop>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(double x, double y, double vx, double vy, [double s = 1.0, double delay = 0.0]) → void
draw(Painter p, List<int> c) → 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 onLand(Drop d, double g)?]) → void

Operators

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