Changeset 5750 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.cc
- Timestamp:
- Nov 24, 2005, 12:13:22 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon.cc
r5671 r5750 41 41 * creates a new weapon 42 42 */ 43 Weapon::Weapon ( WeaponManager* weaponManager)43 Weapon::Weapon () 44 44 { 45 45 this->init(); 46 this->setWeaponManager(weaponManager);47 46 } 48 47 … … 97 96 this->energyMax = 10.0; //< How much energy can be carried 98 97 this->capability = WTYPE_ALL; //< The Weapon has all capabilities @see W_Capability. 99 100 this->setWeaponManager(NULL); //< By default the Weapon is free, and unhandled by a WeaponManager (this is good for small enemies).101 98 } 102 99
Note: See TracChangeset
for help on using the changeset viewer.