IParticleFactory class abstract

Abstract factory interface for creating particle instances

This follows the Factory Method design pattern, allowing different particle creation strategies to be implemented while maintaining a consistent interface.

Implementations can control:

  • Initial position distribution
  • Velocity ranges
  • Size variations
  • Color schemes
Implementers

Constructors

IParticleFactory.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createParticle(Size size) Particle
Creates a new particle within specified bounds
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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