Changeset 11493 for code/trunk/src/modules/weapons/weaponmodes
- Timestamp:
- Oct 16, 2017, 4:07:37 PM (7 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/tgidronFS16 (added) merged: 11140,11151,11163,11168-11169,11171,11177,11182,11184,11192,11196,11198,11201
- Property svn:mergeinfo changed
-
code/trunk/src/modules/weapons/weaponmodes/HsW01.cc
r11108 r11493 85 85 XMLPortParam(HsW01, "projectileMesh", setMesh, getMesh, xmlelement, mode); 86 86 XMLPortParam(HsW01, "sound", setSound, getSound, xmlelement, mode); 87 XMLPortParam(HsW01, "speed", setSpeed, getSpeed, xmlelement, mode); 87 88 } 88 89 -
code/trunk/src/modules/weapons/weaponmodes/HsW01.h
r11099 r11493 112 112 void muzzleflash(); 113 113 114 /** 115 @brief Set the firing speed. 116 @param speed The speed of the shot 117 */ 118 119 void setSpeed(const float speed) 120 { this->speed_ = speed; } 121 122 /** 123 @brief Get the firing speed. 124 @return Returns the speed of the shot 125 */ 126 127 const float getSpeed() const 128 { return this->speed_; } 129 114 130 std::string material_; //!< The material. 115 131 std::string mesh_; //!< The mesh.
Note: See TracChangeset
for help on using the changeset viewer.