5#ifndef NIRT_I_PARTICLE_AFFECTOR_HPP_INCLUDED
6#define NIRT_I_PARTICLE_AFFECTOR_HPP_INCLUDED
8#include <nirtcpp/core/engine/IAttributeExchangingObject.hpp>
9#include <nirtcpp/core/engine/SParticle.hpp>
55 virtual void setEnabled(
bool enabled) { Enabled = enabled; }
An object which is able to serialize and deserialize its attributes into an attributes object.
Definition IAttributeExchangingObject.hpp:54
A particle affector modifies particles.
Definition IParticleAffector.hpp:42
virtual void affect(u32 now, SParticle *particlearray, u32 count)=0
Affects an array of particles.
IParticleAffector()
constructor
Definition IParticleAffector.hpp:46
virtual void setEnabled(bool enabled)
Sets whether or not the affector is currently enabled.
Definition IParticleAffector.hpp:55
virtual E_PARTICLE_AFFECTOR_TYPE getType() const =0
Get emitter type.
virtual bool getEnabled() const
Gets whether or not the affector is currently enabled.
Definition IParticleAffector.hpp:58
Class for holding particle data.
Definition SParticle.hpp:18
E_PARTICLE_AFFECTOR_TYPE
Types of built in particle affectors.
Definition IParticleAffector.hpp:18
const c8 *const ParticleAffectorTypeNames[]
Names for built in particle affectors.
Definition IParticleAffector.hpp:29
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.hpp:64
char c8
8 bit character variable.
Definition irrTypes.hpp:37