ManaPlus
|
#include <particleemitterprop.h>
Public Member Functions | |
ParticleEmitterProp () | |
void | set (const T min, const T max) |
void | set (const T val) |
void | setFunction (ParticleChangeFuncT func, T amplitude, const int period, const int phase) |
T | value (int tick) const |
Data Fields | |
T | minVal |
T | maxVal |
ParticleChangeFuncT | changeFunc |
T | changeAmplitude |
int | changePeriod |
int | changePhase |
Definition at line 33 of file particleemitterprop.h.
|
inline |
Definition at line 35 of file particleemitterprop.h.
|
inline |
Definition at line 47 of file particleemitterprop.h.
References ParticleEmitterProp< T >::maxVal, and ParticleEmitterProp< T >::minVal.
Referenced by ParticleEmitter::adjustSize(), ParticleEmitter::ParticleEmitter(), ParticleEmitter::readParticleEmitterProp(), and ParticleEmitterProp< T >::set().
|
inline |
|
inline |
Definition at line 58 of file particleemitterprop.h.
References ParticleEmitterProp< T >::changeAmplitude, ParticleEmitterProp< T >::changeFunc, ParticleEmitterProp< T >::changePeriod, and ParticleEmitterProp< T >::changePhase.
Referenced by ParticleEmitter::readParticleEmitterProp().
|
inline |
Definition at line 71 of file particleemitterprop.h.
References ParticleEmitterProp< T >::changeAmplitude, ParticleEmitterProp< T >::changeFunc, ParticleEmitterProp< T >::changePeriod, ParticleEmitterProp< T >::changePhase, ParticleChangeFunc::FUNC_NONE, ParticleChangeFunc::FUNC_SAW, ParticleChangeFunc::FUNC_SINE, ParticleChangeFunc::FUNC_SQUARE, ParticleChangeFunc::FUNC_TRIANGLE, ParticleEmitterProp< T >::maxVal, and ParticleEmitterProp< T >::minVal.
Referenced by ParticleEmitter::createParticles(), and ParticleEmitter::ParticleEmitter().
T ParticleEmitterProp< T >::changeAmplitude |
Definition at line 123 of file particleemitterprop.h.
Referenced by ParticleEmitter::ParticleEmitter(), ParticleEmitterProp< T >::setFunction(), and ParticleEmitterProp< T >::value().
ParticleChangeFuncT ParticleEmitterProp< T >::changeFunc |
Definition at line 122 of file particleemitterprop.h.
Referenced by ParticleEmitterProp< T >::setFunction(), and ParticleEmitterProp< T >::value().
int ParticleEmitterProp< T >::changePeriod |
Definition at line 124 of file particleemitterprop.h.
Referenced by ParticleEmitterProp< T >::setFunction(), and ParticleEmitterProp< T >::value().
int ParticleEmitterProp< T >::changePhase |
Definition at line 125 of file particleemitterprop.h.
Referenced by ParticleEmitterProp< T >::setFunction(), and ParticleEmitterProp< T >::value().
T ParticleEmitterProp< T >::maxVal |
Definition at line 120 of file particleemitterprop.h.
Referenced by ParticleEmitter::adjustSize(), ParticleEmitter::ParticleEmitter(), ParticleEmitterProp< T >::set(), and ParticleEmitterProp< T >::value().
T ParticleEmitterProp< T >::minVal |
Definition at line 119 of file particleemitterprop.h.
Referenced by ParticleEmitter::adjustSize(), ParticleEmitter::ParticleEmitter(), ParticleEmitterProp< T >::set(), and ParticleEmitterProp< T >::value().