#include <src/orxonox/objects/weaponsystem/projectiles/ParticleProjectile.h>
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_ |
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] |
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.
Referenced by changedVisibility(), ParticleProjectile(), and ~ParticleProjectile().