Jazz2::Scripting::Legacy::jjPARTICLE class

A visual particle in the level.

Constructors, destructors, conversion operators

jjPARTICLE()
Creates a new instance.
~jjPARTICLE()

Public functions

void AddRef()
Increments the reference count.
void Release()
Decrements the reference count.

Public variables

float xPos
Horizontal position in pixels.
float yPos
Vertical position in pixels.
float xSpeed
Horizontal speed in pixels per frame.
float ySpeed
Vertical speed in pixels per frame.
std::uint8_t particleType
Type of the particle.
bool active
Whether the particle is currently active.
jjPARTICLEPIXEL pixel
jjPARTICLEFIRE fire
jjPARTICLESMOKE smoke
jjPARTICLEICETRAIL trail
jjPARTICLESPARK spark
jjPARTICLESTRING string
jjPARTICLESNOW snow
jjPARTICLERAIN rain
jjPARTICLEFLOWER flower
jjPARTICLESTAR star
jjPARTICLELEAF leaf
union Jazz2::Scripting::Legacy::jjPARTICLE::@065007326001302006035347165330170073366273253014 GENERIC
Type-specific particle data, interpreted according to particleType.