Otclient  14/8/2020
AttractionAffector Class Reference

#include <particleaffector.h>

Inheritance diagram for AttractionAffector:
Collaboration diagram for AttractionAffector:

Public Member Functions

void load (const OTMLNodePtr &node)
 
void updateParticle (const ParticlePtr &particle, float elapsedTime)
 
- Public Member Functions inherited from ParticleAffector
 ParticleAffector ()
 
void update (float elapsedTime)
 
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 ()
 

Additional Inherited Members

- Protected Attributes inherited from ParticleAffector
bool m_finished
 
bool m_active
 
float m_delay
 
float m_duration
 
float m_elapsedTime
 

Detailed Description

Definition at line 55 of file particleaffector.h.

Member Function Documentation

◆ load()

void AttractionAffector::load ( const OTMLNodePtr node)
virtual

Reimplemented from ParticleAffector.

Definition at line 100 of file particleaffector.cpp.

Here is the call graph for this function:

◆ updateParticle()

void AttractionAffector::updateParticle ( const ParticlePtr particle,
float  elapsedTime 
)
virtual

Reimplemented from ParticleAffector.

Definition at line 120 of file particleaffector.cpp.

Here is the call graph for this function:

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