Changeset 6401 for code/branches/presentation2
- Timestamp:
- Dec 22, 2009, 10:38:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/modules/weapons/projectiles/Projectile.cc
r6295 r6401 48 48 this->bDestroy_ = false; 49 49 this->owner_ = 0; 50 this->damage_ = 15; 50 51 51 52 // Get notification about collisions … … 72 73 void Projectile::setConfigValues() 73 74 { 74 SetConfigValue(damage_, 15.0).description("The damage caused by the projectile");75 75 SetConfigValue(lifetime_, 4.0).description("The time in seconds a projectile stays alive"); 76 76 }
Note: See TracChangeset
for help on using the changeset viewer.