Particles interactions manager, base abstract class

Hierarchy

  • ParticlesInteractorBase

Implements

Constructors

Properties

Methods

Constructors

Properties

container: Container
type: InteractorType = InteractorType.Particles

Particles interactions type

Methods

  • Interaction handler

    Parameters

    • particle: Particle

      the particle responsible for interactions

    • delta: IDelta

      this variable contains the delta between the current frame and the previous frame

    Returns Promise<void>

  • Interaction enable check

    Returns

    true or false, checking if the options enable this interaction manager

    Parameters

    • particle: Particle

      the particle responsible for interactions

    Returns boolean