Changeset 8738 for code/trunk/src/orxonox
- Timestamp:
- Jul 9, 2011, 7:45:14 PM (13 years ago)
- Location:
- code/trunk/src/orxonox/interfaces
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/interfaces/RadarViewable.cc
r7163 r8738 50 50 , radarObjectShape_(Dot) 51 51 , radarObjectDescription_("staticObject") 52 , scale_(1.0f) 52 53 { 53 54 RegisterRootObject(RadarViewable); -
code/trunk/src/orxonox/interfaces/RadarViewable.h
r7163 r8738 113 113 inline Shape getRadarObjectShape() const 114 114 { return this->radarObjectShape_; } 115 116 inline void setRadarObjectScale(float scale) 117 { 118 if(this->scale_ != scale) 119 { 120 this->scale_ = scale; 121 this->settingsChanged(); 122 } 123 } 124 inline float getRadarObjectScale() const 125 { return this->scale_; } 126 115 127 void settingsChanged(); 116 128 … … 139 151 std::string radarObjectDescription_; 140 152 ColourValue radarObjectColour_; 141 153 float scale_; 142 154 }; 143 155 }
Note: See TracChangeset
for help on using the changeset viewer.