Changeset 6803
- Timestamp:
- Apr 29, 2010, 2:10:18 PM (15 years ago)
- Location:
- code/branches/rocket/src
- Files:
-
- 2 added
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/rocket/src/modules/weapons/CMakeLists.txt
r5781 r6803 1 1 SET_SOURCE_FILES(WEAPONS_SRC_FILES 2 2 MuzzleFlash.cc 3 RocketController.cc 3 4 ) 4 5 -
code/branches/rocket/src/modules/weapons/projectiles/CMakeLists.txt
r6780 r6803 5 5 LightningGunProjectile.cc 6 6 Rocket.cc 7 SimpleRocket.cc 7 8 ) -
code/branches/rocket/src/modules/weapons/projectiles/SimpleRocket.cc
r6778 r6803 39 39 #include "infos/PlayerInfo.h" 40 40 #include "controllers/Controller.h" 41 #include " controllers/RocketController.h"41 #include "weapons/RocketController.h" 42 42 #include "sound/WorldSound.h" 43 43 … … 59 59 this->lifetime_ = 100; 60 60 //this->camera_ = null; 61 RocketController* myController = new RocketController(); 62 this->setController(myController)); 63 myController->setControllableEntity(this); 61 RocketController* myRController = new RocketController(this); 62 this->setController(myRController); 63 myRController->setRocket(this, myRController); 64 65 //this->getController()->setControllableEntity(this); 66 //myController->setControllableEntity(this); 64 67 //this->getController()->setControllableEntity(this); 65 68 //this->controllableEntity_->setController(this->controller_); … … 90 93 this->destroyTimer_.setTimer(this->lifetime_, false, createExecutor(createFunctor(&SimpleRocket::destroyObject, this))); 91 94 } 92 this->93 95 94 96 }
Note: See TracChangeset
for help on using the changeset viewer.