- Timestamp:
- Oct 24, 2015, 10:51:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/fabienHS15/src/orxonox/weaponsystem/WeaponMode.h
r10650 r10688 38 38 #include "core/class/SubclassIdentifier.h" 39 39 #include "tools/Timer.h" 40 #include "Munition.h" 40 41 41 42 namespace orxonox … … 104 105 inline bool getParallelReload() const 105 106 { return this->bParallelReload_; } 107 inline bool getReloading() const 108 { return this->bReloading_; } 106 109 107 110 … … 147 150 Vector3 getTarget(); 148 151 152 inline const std::string& getHUDImageString() const 153 { return this->hudImageString_; } 154 149 155 protected: 150 156 virtual void fire() = 0; … … 155 161 156 162 float reloadTime_; 157 bool bAutoReload_; 158 bool bParallelReload_; 163 bool bAutoReload_; // If true, the weapon reloads the magazine automatically. 164 bool bParallelReload_; // If true, the weapon reloads in parallel to the magazine reloading. 159 165 160 166 float damage_; … … 162 168 float shielddamage_; 163 169 Vector3 muzzleOffset_; 170 171 std::string hudImageString_; 164 172 165 173 private: … … 175 183 176 184 Timer reloadTimer_; 177 bool bReloading_; 185 bool bReloading_; // If true, this weapon mode is marked as reloading. 178 186 179 187 Vector3 muzzlePosition_;
Note: See TracChangeset
for help on using the changeset viewer.