Swarm class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
ps
↔ Particles
-
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(ParticleKind k, double x, double y, double vx, double vy, double age, double life, [int? col, double size = 1.0, int flag = 0, double seed = 0.0])
→ void
-
-
begin(double t)
→ Swarm
-
-
draw(Painter p, [String? layer])
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setSparks(List<int> cols)
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited