BasicParticle class

Inheritance

Constructors

BasicParticle({required Size area, required Vector2 position, required Vector2 basePosition, required Vector2 velocity, required double radius, required double baseRadius})
BasicParticle.random(Size area)
factory

Properties

area Size
finalinherited
basePosition → Vector2
finalinherited
baseRadius double
finalinherited
hashCode int
The hash code for this object.
no setterinherited
position ↔ Vector2
getter/setter pairinherited
radius double
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
velocity ↔ Vector2
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toArray() → dynamic
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
update() → void
override
updateSize(double radius, double time) → dynamic
reduce the blob size according to time ratio
inherited

Operators

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