Changeset 6672 in orxonox.OLD for branches/network/src/world_entities
- Timestamp:
- Jan 24, 2006, 3:02:19 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/world_entities/space_ships/space_ship.cc
r6634 r6672 97 97 if (root != NULL) 98 98 this->loadParams(root); 99 } 100 101 102 /** 103 * initializes a Spaceship 104 */ 105 void SpaceShip::init() 106 { 107 // this->setRelDir(Quaternion(M_PI, Vector(1,0,0))); 108 this->setClassID(CL_SPACE_SHIP, "SpaceShip"); 109 110 PRINTF(4)("SPACESHIP INIT\n"); 99 111 100 112 //weapons: … … 114 126 115 127 this->getWeaponManager()->changeWeaponConfig(1); 116 }117 118 119 /**120 * initializes a Spaceship121 */122 void SpaceShip::init()123 {124 // this->setRelDir(Quaternion(M_PI, Vector(1,0,0)));125 this->setClassID(CL_SPACE_SHIP, "SpaceShip");126 127 PRINTF(4)("SPACESHIP INIT\n");128 128 129 129 EventHandler::getInstance()->grabEvents(true); … … 202 202 dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( false); 203 203 } 204 204 205 205 206 /**
Note: See TracChangeset
for help on using the changeset viewer.