Changeset 1554 for code/trunk
- Timestamp:
- Jun 6, 2008, 6:36:56 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/Projectile.cc
r1553 r1554 43 43 namespace orxonox 44 44 { 45 float Projectile::speed_ = 2000;45 float Projectile::speed_ = 5000; 46 46 47 47 Projectile::Projectile(SpaceShip* owner) : owner_(owner) … … 72 72 { 73 73 SetConfigValue(damage_, 15.0).description("The damage caused by the projectile"); 74 SetConfigValue(lifetime_, 5.0).description("The time in seconds a projectile stays alive");75 SetConfigValue(speed_, 2000.0).description("The speed of a projectile in units per second");74 SetConfigValue(lifetime_, 4.0).description("The time in seconds a projectile stays alive"); 75 SetConfigValue(speed_, 5000.0).description("The speed of a projectile in units per second"); 76 76 77 77 this->setVelocity(this->owner_->getInitialDir() * this->speed_);
Note: See TracChangeset
for help on using the changeset viewer.