Otclient  14/8/2020
ParticleSystem Class Reference

#include <particlesystem.h>

Inheritance diagram for ParticleSystem:
Collaboration diagram for ParticleSystem:

Public Member Functions

 ParticleSystem ()
 
void load (const OTMLNodePtr &node)
 
void addParticle (const ParticlePtr &particle)
 
void render ()
 
void update ()
 
bool hasFinished ()
 
- Public Member Functions inherited from stdext::shared_object
 shared_object ()
 
virtual ~shared_object ()
 
void add_ref ()
 
void dec_ref ()
 
refcount_t ref_count ()
 
template<typename T >
stdext::shared_object_ptr< T > static_self_cast ()
 
template<typename T >
stdext::shared_object_ptr< T > dynamic_self_cast ()
 
template<typename T >
stdext::shared_object_ptr< T > const_self_cast ()
 

Detailed Description

Definition at line 31 of file particlesystem.h.

Constructor & Destructor Documentation

◆ ParticleSystem()

ParticleSystem::ParticleSystem ( )

Definition at line 27 of file particlesystem.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ addParticle()

void ParticleSystem::addParticle ( const ParticlePtr particle)

Definition at line 57 of file particlesystem.cpp.

◆ hasFinished()

bool ParticleSystem::hasFinished ( )
inline

Definition at line 42 of file particlesystem.h.

◆ load()

void ParticleSystem::load ( const OTMLNodePtr node)

Definition at line 33 of file particlesystem.cpp.

Here is the call graph for this function:

◆ render()

void ParticleSystem::render ( )

Definition at line 62 of file particlesystem.cpp.

Here is the call graph for this function:

◆ update()

void ParticleSystem::update ( )

Definition at line 69 of file particlesystem.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: