Changeset 8896 for code/branches/hud/src/orxonox/interfaces
- Timestamp:
- Oct 19, 2011, 4:16:25 PM (13 years ago)
- Location:
- code/branches/hud/src/orxonox/interfaces
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud/src/orxonox/interfaces/RadarViewable.cc
r8858 r8896 51 51 , radarObjectDescription_("staticObject") 52 52 , scale_(1.0f) 53 , RVName("") 53 54 { 54 55 RegisterRootObject(RadarViewable); -
code/branches/hud/src/orxonox/interfaces/RadarViewable.h
r8738 r8896 60 60 RadarViewable(BaseObject* creator, const WorldEntity* wePtr); 61 61 virtual ~RadarViewable(); 62 63 virtual void setRVName(std::string name) 64 { 65 if (this->RVName != name) 66 { 67 this->RVName = name; 68 this->settingsChanged(); 69 } 70 } 71 72 std::string getRVName() const 73 { return this->RVName; } 62 74 63 75 inline void setRadarObjectCamouflage(float camouflage) … … 152 164 ColourValue radarObjectColour_; 153 165 float scale_; 166 std::string RVName; 154 167 }; 155 168 }
Note: See TracChangeset
for help on using the changeset viewer.