Changeset 10030 in orxonox.OLD for branches/playability/src/world_entities/space_ships/space_ship.cc
- Timestamp:
- Dec 6, 2006, 5:35:28 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/space_ships/space_ship.cc
r10024 r10030 145 145 146 146 Weapon* wpRight1 = new LightBlaster (); 147 wpRight1->setName("Light Blaster Right");147 wpRight1->setName("LightBlaster"); 148 148 Weapon* wpLeft1 = new LightBlaster (); 149 wpLeft1->setName(" Medium Blaster Left");149 wpLeft1->setName("LightBlaster"); 150 150 151 151 Weapon* wpRight2 = new MediumBlaster (); 152 wpRight2->setName("Medium Blaster Right");152 wpRight2->setName("MediumBlaster"); 153 153 Weapon* wpLeft2 = new MediumBlaster (); 154 wpLeft2->setName("Medium Blaster Left");155 156 /*Weapon* wpRight3 = new HeavyBlaster ();157 wpRight3->setName("Heavy Blaster Right");154 wpLeft2->setName("MediumBlaster"); 155 156 Weapon* wpRight3 = new HeavyBlaster (); 157 wpRight3->setName("HeavyBlaster"); 158 158 Weapon* wpLeft3 = new HeavyBlaster (); 159 wpLeft3->setName("Heavy Blaster Left");*/159 wpLeft3->setName("HeavyBlaster"); 160 160 161 161 Weapon* cannon = new SwarmLauncher(); … … 168 168 this->weaponMan.addWeapon( wpLeft2, 0, 2); 169 169 this->weaponMan.addWeapon( wpRight2, 0, 3); 170 /*this->weaponMan.addWeapon( wpLeft3, 0, 4);171 this->weaponMan.addWeapon( wpRight3, 0, 5); */170 this->weaponMan.addWeapon( wpLeft3, 0, 4); 171 this->weaponMan.addWeapon( wpRight3, 0, 5); 172 172 173 173 this->secWeaponMan.addWeapon( cannon, 1, 0); … … 180 180 wpRight2->requestAction(WA_ACTIVATE); 181 181 wpLeft2->requestAction(WA_ACTIVATE); 182 /*wpRight3->requestAction(WA_ACTIVATE);183 wpLeft3->requestAction(WA_ACTIVATE); */182 wpRight3->requestAction(WA_ACTIVATE); 183 wpLeft3->requestAction(WA_ACTIVATE); 184 184 185 185 cannon->requestAction(WA_ACTIVATE);
Note: See TracChangeset
for help on using the changeset viewer.