ExplosionNukeRenderer Class Reference

#include <ExplosionNukeRenderer.h>

Inheritance diagram for ExplosionNukeRenderer:

ActionRenderer

List of all members.

Public Member Functions

 ExplosionNukeRenderer (Vector &position, float size)
virtual ~ExplosionNukeRenderer ()
virtual void draw (Action *action)
virtual void simulate (Action *action, float frameTime, bool &remove)

Static Public Attributes

static Vectorpositions_ = 0

Protected Attributes

Vector position_
float size_
float time_
float totalTime_
ParticleEmitter emitter_


Detailed Description

Definition at line 50 of file ExplosionNukeRenderer.h.


Constructor & Destructor Documentation

ExplosionNukeRenderer::ExplosionNukeRenderer ( Vector position,
float  size 
)

Definition at line 68 of file ExplosionNukeRenderer.cpp.

References emitter_, ExplosionNukeRenderer_STEPS, ScorchedContext::getLandscapeMaps(), ScorchedClient::instance(), position_, positions_, ParticleEmitter::setAttributes(), and size_.

ExplosionNukeRenderer::~ExplosionNukeRenderer (  )  [virtual]

Definition at line 119 of file ExplosionNukeRenderer.cpp.


Member Function Documentation

void ExplosionNukeRenderer::draw ( Action action  )  [virtual]

Implements ActionRenderer.

Definition at line 123 of file ExplosionNukeRenderer.cpp.

void ExplosionNukeRenderer::simulate ( Action action,
float  frameTime,
bool &  remove 
) [virtual]

Reimplemented from ActionRenderer.

Definition at line 127 of file ExplosionNukeRenderer.cpp.

References ParticleEmitter::emitMushroom(), emitter_, ScorchedClient::instance(), OptionsDisplay::instance(), position_, size_, time_, and totalTime_.


Member Data Documentation

Vector * ExplosionNukeRenderer::positions_ = 0 [static]

Definition at line 59 of file ExplosionNukeRenderer.h.

Referenced by ExplosionNukeRenderer(), and ExplosionNukeRendererEntry::simulate().

Vector ExplosionNukeRenderer::position_ [protected]

Definition at line 61 of file ExplosionNukeRenderer.h.

Referenced by ExplosionNukeRenderer(), and simulate().

float ExplosionNukeRenderer::size_ [protected]

Definition at line 62 of file ExplosionNukeRenderer.h.

Referenced by ExplosionNukeRenderer(), and simulate().

float ExplosionNukeRenderer::time_ [protected]

Definition at line 63 of file ExplosionNukeRenderer.h.

Referenced by simulate().

float ExplosionNukeRenderer::totalTime_ [protected]

Definition at line 64 of file ExplosionNukeRenderer.h.

Referenced by simulate().

ParticleEmitter ExplosionNukeRenderer::emitter_ [protected]

Definition at line 65 of file ExplosionNukeRenderer.h.

Referenced by ExplosionNukeRenderer(), and simulate().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:01 2009 for Scorched3D by  doxygen 1.5.3