The particles infection animations options [[include:Options/Plugins/Infection.md]]

interface IInfection {
    cure: boolean;
    delay: number;
    enable: boolean;
    infections: number;
    stages: IInfectionStage[];
}

Implemented by

Properties

cure: boolean

This property specifies if particles can turn back to the original state after being infected

delay: number

The infection delay of the new infected particles, initial infected particles won't be affected.

enable: boolean

Enables the infection animations

infections: number

The initial number of infected particles

stages: IInfectionStage[]

This property contains all the infection stages configurations, array of IInfectionStage