Changeset 3088 for code/trunk/src/orxonox/objects/weaponsystem
- Timestamp:
- May 27, 2009, 4:09:13 PM (16 years ago)
- Location:
- code/trunk/src/orxonox/objects/weaponsystem/projectiles
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/weaponsystem/projectiles/LightningGunProjectile.cc
r3053 r3088 48 48 this->maxTextureIndex_ = 8; 49 49 this->textureTimer_.setTimer(0.01, true, this, createExecutor(createFunctor(&LightningGunProjectile::changeTexture))); 50 51 registerVariables(); 52 } 53 54 void LightningGunProjectile::registerVariables() 55 { 56 registerVariable(this->materialBase_); 50 57 } 51 58 -
code/trunk/src/orxonox/objects/weaponsystem/projectiles/LightningGunProjectile.h
r3053 r3088 52 52 Timer<LightningGunProjectile> textureTimer_; 53 53 std::string materialBase_; 54 private: 55 void registerVariables(); 54 56 }; 55 57 } -
code/trunk/src/orxonox/objects/weaponsystem/projectiles/Projectile.cc
r3073 r3088 45 45 namespace orxonox 46 46 { 47 CreateFactory(Projectile); 48 47 49 Projectile::Projectile(BaseObject* creator) : MovableEntity(creator) 48 50 {
Note: See TracChangeset
for help on using the changeset viewer.