Infection stage options

Implements

Constructors

Properties

Methods

Constructors

Properties

Infection stage particle color

duration?: number

Infection stage duration, after this time has passed it will go to the next stage, resets to first or turn back to normal if cure is enabled.

infectedStage?: number

The infected stage set to the infected particles by the current stage

radius: number

Infection stage contagious area radius, if 0 only particles touching would be affected

rate: number

Infection rate, the higher it is, the more particles will be infected.

Methods