Changeset 9998 in orxonox.OLD for branches/playability/src/world_entities/space_ships
- Timestamp:
- Dec 3, 2006, 7:40:07 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/space_ships/space_ship.cc
r9996 r9998 127 127 void SpaceShip::init() 128 128 { 129 129 130 // this->setRelDir(Quaternion(M_PI, Vector(1,0,0))); 130 131 this->registerObject(this, SpaceShip::_objectList); … … 132 133 PRINTF(4)("SPACESHIP INIT\n"); 133 134 135 secWeaponMan.showCrosshair(); 136 134 137 //weapons: 138 135 139 Weapon* wpRight1 = new LightBlaster (); 136 140 wpRight1->setName("Light Blaster Right"); … … 139 143 140 144 Weapon* wpRight2 = new MediumBlaster (); 141 wpRight2->setName(" LightBlaster Right");145 wpRight2->setName("Medium Blaster Right"); 142 146 Weapon* wpLeft2 = new MediumBlaster (); 143 147 wpLeft2->setName("Medium Blaster Left"); … … 158 162 this->weaponMan.addWeapon( wpLeft3, 0, 4); 159 163 this->weaponMan.addWeapon( wpRight3, 0, 5); 164 160 165 this->secWeaponMan.addWeapon( cannon, 0, 0); 161 166 … … 168 173 wpRight3->requestAction(WA_ACTIVATE); 169 174 wpLeft3->requestAction(WA_ACTIVATE); 175 170 176 cannon->requestAction(WA_ACTIVATE); 171 177 … … 294 300 this->weaponMan.getFixedTarget()->setParent(this); 295 301 this->weaponMan.getFixedTarget()->setRelCoor(100000,0,0); 296 302 297 303 this->secWeaponMan.getFixedTarget()->setParent(this); 298 304 this->secWeaponMan.getFixedTarget()->setRelCoor(100000,0,0);
Note: See TracChangeset
for help on using the changeset viewer.