Orxonox: orxonox::ParticleProjectile Class Reference

# orxonox::ParticleProjectile Class Reference

`#include <src/orxonox/objects/weaponsystem/projectiles/ParticleProjectile.h>`

Inheritance diagram for orxonox::ParticleProjectile:

List of all members.

## Public Member Functions

virtual void | changedVisibility ()
| This function gets called if the visibility of the object changes.
| ParticleProjectile (BaseObject *creator)
virtual | ~ParticleProjectile ()

## Private Attributes

ParticleInterface * | particles_

## Constructor & Destructor Documentation

orxonox::ParticleProjectile::ParticleProjectile | ( | BaseObject * | creator | ) |

References orxonox::WorldEntity::attachOgreObject(), orxonox::WorldEntity::FRONT, orxonox::ParticleInterface::getParticleSystem(), orxonox::BaseObject::getScene(), orxonox::LODParticle::Normal, particles_, RegisterObject, orxonox::ParticleInterface::setKeepParticlesInLocalSpace(), and orxonox::GameMode::showsGraphics().

orxonox::ParticleProjectile::~ParticleProjectile | ( |  | ) | `[virtual]`

References orxonox::WorldEntity::detachOgreObject(), orxonox::ParticleInterface::getParticleSystem(), orxonox::BaseObject::isInitialized(), and particles_.

## Member Function Documentation

void orxonox::ParticleProjectile::changedVisibility | ( |  | ) | `[virtual]`

This function gets called if the visibility of the object changes.

Reimplemented from orxonox::BillboardProjectile.

References orxonox::BaseObject::isVisible(), particles_, orxonox::ParticleInterface::setEnabled(), and SUPER.

## Member Data Documentation

ParticleInterface* orxonox::ParticleProjectile::particles_`[private]`

Referenced by changedVisibility(), ParticleProjectile(), and ~ParticleProjectile().

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

- src/orxonox/objects/weaponsystem/projectiles/ParticleProjectile.h
- src/orxonox/objects/weaponsystem/projectiles/ParticleProjectile.cc