Changeset 9257 for code/trunk/src/orxonox/interfaces
- Timestamp:
- May 28, 2012, 12:28:44 PM (13 years ago)
- Location:
- code/trunk/src/orxonox/interfaces
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/interfaces/RadarViewable.cc
r9016 r9257 51 51 , radarObjectDescription_("staticObject") 52 52 , scale_(1.0f) 53 , RVName("")54 53 { 55 54 RegisterRootObject(RadarViewable); -
code/trunk/src/orxonox/interfaces/RadarViewable.h
r9016 r9257 61 61 virtual ~RadarViewable(); 62 62 63 virtual void setR VName(std::stringname)63 virtual void setRadarName(const std::string& name) 64 64 { 65 if (this-> RVName!= name)65 if (this->radarName_ != name) 66 66 { 67 this-> RVName= name;67 this->radarName_ = name; 68 68 this->settingsChanged(); 69 69 } 70 70 } 71 std::string getRVName() const72 { return this-> RVName; }71 const std::string& getRadarName() const 72 { return this->radarName_; } 73 73 74 74 inline void setRadarObjectCamouflage(float camouflage) … … 163 163 ColourValue radarObjectColour_; 164 164 float scale_; 165 std::string RVName;165 std::string radarName_; 166 166 }; 167 167 }
Note: See TracChangeset
for help on using the changeset viewer.