Changeset 10601 for code/branches/weaponFS15/src/modules/weapons/munitions
- Timestamp:
- Sep 27, 2015, 10:03:53 PM (9 years ago)
- Location:
- code/branches/weaponFS15/src/modules/weapons/munitions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weaponFS15/src/modules/weapons/munitions/GravityBombMunition.cc
r10455 r10601 12 12 RegisterClass(GravityBombMunition); 13 13 14 15 16 17 18 19 14 GravityBombMunition::GravityBombMunition(Context* context) : Munition(context) 15 { 16 RegisterObject(GravityBombMunition); 17 this->maxMunitionPerMagazine_ = 1; 18 this->maxMagazines_ = 30; 19 this->magazines_ = 15; 20 20 21 22 21 this->bUseSeparateMagazines_ = false; 22 this->bStackMunition_ = true; 23 23 24 25 26 24 this->bAllowMunitionRefilling_ = true; 25 this->bAllowMultiMunitionRemovementUnderflow_ = false; 26 } 27 27 28 28 } -
code/branches/weaponFS15/src/modules/weapons/munitions/GravityBombMunition.h
r10455 r10601 14 14 namespace orxonox 15 15 { 16 17 * @classGravityBombMunition18 19 * @briefThis class is used to set the behaviour of various20 *munition specific attributes of the GravityBomb like max count of munition per magazine.21 22 * @authorManuel23 * @date23.05.201524 25 16 /** 17 * @class GravityBombMunition 18 * 19 * @brief This class is used to set the behaviour of various 20 * munition specific attributes of the GravityBomb like max count of munition per magazine. 21 * 22 * @author Manuel 23 * @date 23.05.2015 24 */ 25 class _WeaponsExport GravityBombMunition : public Munition 26 26 { 27 27 public: 28 28 GravityBombMunition(Context* context); 29 29 virtual ~GravityBombMunition() {} 30 30 };
Note: See TracChangeset
for help on using the changeset viewer.