Changeset 5831 for code/branches/core5/src/modules/weapons/projectiles
- Timestamp:
- Sep 28, 2009, 10:48:47 PM (16 years ago)
- Location:
- code/branches/core5/src/modules/weapons/projectiles
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/modules/weapons/projectiles/LightningGunProjectile.cc
r5738 r5831 42 42 this->textureIndex_ = 1; 43 43 this->maxTextureIndex_ = 8; 44 this->textureTimer_.setTimer(0.01f, true, this, createExecutor(createFunctor(&LightningGunProjectile::changeTexture)));44 this->textureTimer_.setTimer(0.01f, true, createExecutor(createFunctor(&LightningGunProjectile::changeTexture, this))); 45 45 46 46 registerVariables(); -
code/branches/core5/src/modules/weapons/projectiles/LightningGunProjectile.h
r5738 r5831 50 50 unsigned int textureIndex_; 51 51 unsigned int maxTextureIndex_; 52 Timer <LightningGunProjectile>textureTimer_;52 Timer textureTimer_; 53 53 std::string materialBase_; 54 54 private: -
code/branches/core5/src/modules/weapons/projectiles/Projectile.cc
r5800 r5831 61 61 this->attachCollisionShape(shape); 62 62 63 this->destroyTimer_.setTimer(this->lifetime_, false, this, createExecutor(createFunctor(&Projectile::destroyObject)));63 this->destroyTimer_.setTimer(this->lifetime_, false, createExecutor(createFunctor(&Projectile::destroyObject, this))); 64 64 } 65 65 } -
code/branches/core5/src/modules/weapons/projectiles/Projectile.h
r5738 r5831 66 66 float damage_; 67 67 bool bDestroy_; 68 Timer <Projectile>destroyTimer_;68 Timer destroyTimer_; 69 69 }; 70 70 }
Note: See TracChangeset
for help on using the changeset viewer.