Changeset 6695 in orxonox.OLD for trunk/src/world_entities/space_ships
- Timestamp:
- Jan 25, 2006, 2:39:53 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/space_ship.cc
r6692 r6695 97 97 if (root != NULL) 98 98 this->loadParams(root); 99 else 100 { 101 this->loadModel("models/ships/reap_#.obj"); 102 } 103 104 } 105 106 107 /** 108 * initializes a Spaceship 109 */ 110 void SpaceShip::init() 111 { 112 // this->setRelDir(Quaternion(M_PI, Vector(1,0,0))); 113 this->setClassID(CL_SPACE_SHIP, "SpaceShip"); 114 115 PRINTF(4)("SPACESHIP INIT\n"); 99 116 100 117 //weapons: … … 112 129 113 130 this->getWeaponManager()->changeWeaponConfig(1); 114 }115 116 117 /**118 * initializes a Spaceship119 */120 void SpaceShip::init()121 {122 // this->setRelDir(Quaternion(M_PI, Vector(1,0,0)));123 this->setClassID(CL_SPACE_SHIP, "SpaceShip");124 125 PRINTF(4)("SPACESHIP INIT\n");126 131 127 132 EventHandler::getInstance()->grabEvents(true); … … 206 211 dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( false); 207 212 } 213 208 214 209 215 /**
Note: See TracChangeset
for help on using the changeset viewer.