Changeset 697 for code/branches/FICN/src/orxonox/objects/SpaceShip.cc
- Timestamp:
- Dec 27, 2007, 5:06:55 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/objects/SpaceShip.cc
r670 r697 45 45 RegisterObject(SpaceShip); 46 46 47 SetConfigValue(bInvertYAxis_, false); 48 SetConfigValue(reloadTime_, 0.125); 47 this->setConfigValues(); 49 48 50 49 this->setMouseEventCallback_ = false; … … 123 122 } 124 123 124 void SpaceShip::setConfigValues() 125 { 126 SetConfigValue(bInvertYAxis_, false); 127 SetConfigValue(reloadTime_, 0.125); 128 } 129 125 130 void SpaceShip::loadParams(TiXmlElement* xmlElem) 126 131 { … … 363 368 if (this->bLMousePressed_ && this->timeToReload_ <= 0) 364 369 { 365 // FIXME, unused var; try recycling of projectiles 366 Projectile* proj = new Projectile(this); 370 new Projectile(this); 367 371 this->timeToReload_ = this->reloadTime_; 368 372 }
Note: See TracChangeset
for help on using the changeset viewer.