Changeset 10340 for code/branches/towerdefenseFS15/src/modules/objects
- Timestamp:
- Apr 2, 2015, 3:57:34 PM (10 years ago)
- Location:
- code/branches/towerdefenseFS15/src/modules/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/towerdefenseFS15/src/modules/objects/Turret.cc
r10262 r10340 223 223 XMLPortParam(Turret, "maxYaw", setMaxYaw, getMaxYaw, xmlelement, mode); 224 224 XMLPortParam(Turret, "maxPitch", setMaxPitch, getMaxPitch, xmlelement, mode); 225 XMLPortParam(Turret, "rotationThrust", setRotationThrust, getRotationThrust, xmlelement, mode); 225 226 } 226 227 -
code/branches/towerdefenseFS15/src/modules/objects/Turret.h
r10262 r10340 102 102 { return this->maxYaw_; } 103 103 104 inline void setRotationThrust(float rotationthrust) 105 { this->rotationThrust_ = rotationthrust; } 106 107 inline float getRotationThrust() 108 { return this->rotationThrust_; } 109 104 110 protected: 105 111 Vector3 startDir_; //!< The initial facing direction, in local coordinates.
Note: See TracChangeset
for help on using the changeset viewer.