Changeset 11060 for code/branches/cpp11_v3/src/orxonox/items/ShipPart.cc
- Timestamp:
- Jan 13, 2016, 10:40:06 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3/src/orxonox/items/ShipPart.cc
r11054 r11060 182 182 } 183 183 184 void ShipPart::setDamageAbsorption(float value)185 {186 this->damageAbsorption_ = value;187 }188 189 184 void ShipPart::setParent(ModularSpaceShip* ship) 190 185 { 191 186 this->parent_ = ship; 192 }193 194 /**195 @brief196 Sets the health of the ShipPart.197 */198 void ShipPart::setHealth(float health)199 {200 this->health_ = health;201 187 } 202 188
Note: See TracChangeset
for help on using the changeset viewer.