Changeset 7060 for code/branches/presentation3/src/orxonox/worldentities
- Timestamp:
- May 31, 2010, 4:44:02 PM (14 years ago)
- Location:
- code/branches/presentation3/src/orxonox/worldentities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/orxonox/worldentities/Drone.cc
r7039 r7060 79 79 XMLPortParam(Drone, "maxDistanceToOwner_", setMaxDistanceToOwner, getMaxDistanceToOwner, xmlelement, mode); 80 80 XMLPortParam(Drone, "minDistanceToOwner_", setMinDistanceToOwner, getMinDistanceToOwner, xmlelement, mode); 81 XMLPortParam(Drone, "maxShootingRange_", setMaxShootingRange, getMaxShootingRange, xmlelement, mode); 81 82 } 82 83 -
code/branches/presentation3/src/orxonox/worldentities/Drone.h
r7039 r7060 114 114 inline void setMinDistanceToOwner( float distance) 115 115 { this->minDistanceToOwner_=distance; } 116 inline void setMaxShootingRange( float distance) 117 { this->maxShootingRange_=distance; } 116 118 117 119 … … 130 132 inline float getMinDistanceToOwner() 131 133 { return this->minDistanceToOwner_; } 134 inline float getMaxShootingRange() 135 { return this->maxShootingRange_; } 132 136 133 137 private: … … 141 145 float maxDistanceToOwner_; //Maximum Distance to owner 142 146 float minDistanceToOwner_; //Minimum Distance to owner 147 float maxShootingRange_; 143 148 }; 144 149
Note: See TracChangeset
for help on using the changeset viewer.