#include <src/orxonox/objects/weaponsystem/projectiles/LightningGunProjectile.h>
Public Member Functions | |
LightningGunProjectile (BaseObject *creator) | |
virtual void | setMaterial (const std::string &material) |
virtual | ~LightningGunProjectile () |
Protected Member Functions | |
void | changeTexture () |
Protected Attributes | |
std::string | materialBase_ |
unsigned int | maxTextureIndex_ |
unsigned int | textureIndex_ |
Timer< LightningGunProjectile > | textureTimer_ |
Private Member Functions | |
void | registerVariables () |
orxonox::LightningGunProjectile::LightningGunProjectile | ( | BaseObject * | creator | ) |
virtual orxonox::LightningGunProjectile::~LightningGunProjectile | ( | ) | [inline, virtual] |
void orxonox::LightningGunProjectile::changeTexture | ( | ) | [protected] |
References materialBase_, maxTextureIndex_, setMaterial(), and textureIndex_.
Referenced by LightningGunProjectile().
void orxonox::LightningGunProjectile::registerVariables | ( | ) | [private] |
Reimplemented from orxonox::MovableEntity.
References materialBase_, and orxonox::Synchronisable::registerVariable().
Referenced by LightningGunProjectile().
void orxonox::LightningGunProjectile::setMaterial | ( | const std::string & | material | ) | [virtual] |
Reimplemented from orxonox::BillboardProjectile.
References materialBase_, orxonox::BillboardProjectile::setMaterial(), and textureIndex_.
Referenced by changeTexture(), and orxonox::LightningGun::fire().
Referenced by changeTexture(), registerVariables(), and setMaterial().
unsigned int orxonox::LightningGunProjectile::maxTextureIndex_ [protected] |
Referenced by changeTexture(), and LightningGunProjectile().
unsigned int orxonox::LightningGunProjectile::textureIndex_ [protected] |
Referenced by changeTexture(), LightningGunProjectile(), and setMaterial().
Referenced by LightningGunProjectile().