Changeset 11199 for code/branches/presentationFS16/src/modules/weapons
- Timestamp:
- May 26, 2016, 3:13:51 PM (9 years ago)
- Location:
- code/branches/presentationFS16/src/modules/weapons/weaponmodes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationFS16/src/modules/weapons/weaponmodes/HsW01.cc
r11108 r11199 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/branches/presentationFS16/src/modules/weapons/weaponmodes/HsW01.h
r11099 r11199 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.