#include <ExplosionRingRenderer.h>

Public Member Functions | |
| ExplosionRingRenderer () | |
| virtual | ~ExplosionRingRenderer () |
| virtual void | init (unsigned int playerId, Vector &position, Vector &velocity, const char *data) |
| virtual void | draw (Action *action) |
| virtual void | simulate (Action *action, float frameTime, bool &remove) |
| REGISTER_CLASS_HEADER (ExplosionRingRenderer) | |
Private Attributes | |
| Vector | position_ |
| std::string | data_ |
Definition at line 27 of file ExplosionRingRenderer.h.
| ExplosionRingRenderer::ExplosionRingRenderer | ( | ) |
Definition at line 31 of file ExplosionRingRenderer.cpp.
| ExplosionRingRenderer::~ExplosionRingRenderer | ( | ) | [virtual] |
Definition at line 35 of file ExplosionRingRenderer.cpp.
| void ExplosionRingRenderer::init | ( | unsigned int | playerId, | |
| Vector & | position, | |||
| Vector & | velocity, | |||
| const char * | data | |||
| ) | [virtual] |
| void ExplosionRingRenderer::draw | ( | Action * | action | ) | [virtual] |
| void ExplosionRingRenderer::simulate | ( | Action * | action, | |
| float | frameTime, | |||
| bool & | remove | |||
| ) | [virtual] |
Reimplemented from ActionRenderer.
Definition at line 50 of file ExplosionRingRenderer.cpp.
References data_, VirtualSoundPriority::eAction, ParticleEmitter::emitExplosionRing(), Sound::fetchOrCreateBuffer(), S3D::getDataFile(), ParticleRendererQuads::getInstance(), ScorchedClient::instance(), Sound::instance(), SoundUtils::playAbsoluteSound(), position_, ParticleEmitter::setAttributes(), and LangStringUtil::strcmp().
| ExplosionRingRenderer::REGISTER_CLASS_HEADER | ( | ExplosionRingRenderer | ) |
Vector ExplosionRingRenderer::position_ [private] |
std::string ExplosionRingRenderer::data_ [private] |
1.5.3