Changeset 11495 for code/trunk/src/modules/weapons/weaponmodes
- Timestamp:
- Oct 23, 2017, 12:23:21 AM (7 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/tgidronFS16 removed
- Property svn:mergeinfo changed
-
code/trunk/src/modules/weapons/weaponmodes/HsW01.cc
r11493 r11495 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);88 87 } 89 88 -
code/trunk/src/modules/weapons/weaponmodes/HsW01.h
r11493 r11495 112 112 void muzzleflash(); 113 113 114 /**115 @brief Set the firing speed.116 @param speed The speed of the shot117 */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 shot125 */126 127 const float getSpeed() const128 { return this->speed_; }129 130 114 std::string material_; //!< The material. 131 115 std::string mesh_; //!< The mesh.
Note: See TracChangeset
for help on using the changeset viewer.