Changeset 3088 for code/trunk/src/orxonox
- Timestamp:
- May 27, 2009, 4:09:13 PM (15 years ago)
- Location:
- code/trunk/src/orxonox
- Files:
-
- 4 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 { -
code/trunk/src/orxonox/overlays/hud/HUDTimer.cc
r3033 r3088 55 55 56 56 Gametype* gametype = this->getGametype(); 57 58 if (gametype->getTimerIsActive())57 58 if(gametype) 59 59 { 60 this->setCaption(convertToString((int)gametype->getTime() + 1)); 60 if (gametype->getTimerIsActive()) 61 { 62 this->setCaption(convertToString((int)gametype->getTime() + 1)); 63 } 61 64 } 62 65 }
Note: See TracChangeset
for help on using the changeset viewer.