Changeset 7045 for code/branches/presentation3/src/orxonox/interfaces
- Timestamp:
- May 31, 2010, 2:10:35 PM (15 years ago)
- Location:
- code/branches/presentation3/src/orxonox/interfaces
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/orxonox/interfaces/RadarViewable.cc
r6961 r7045 41 41 @brief Constructor. 42 42 */ 43 RadarViewable::RadarViewable(BaseObject* creator )43 RadarViewable::RadarViewable(BaseObject* creator, const WorldEntity* wePtr) 44 44 : isHumanShip_(false) 45 45 , bVisibility_(true) 46 46 , bInitialized_(false) 47 47 , creator_(creator) 48 , wePtr_(wePtr) 48 49 , radarObjectCamouflage_(0.0f) 49 50 , radarObjectShape_(Dot) -
code/branches/presentation3/src/orxonox/interfaces/RadarViewable.h
r6942 r7045 58 58 59 59 public: 60 RadarViewable(BaseObject* creator );60 RadarViewable(BaseObject* creator, const WorldEntity* wePtr); 61 61 virtual ~RadarViewable(); 62 62 … … 98 98 { return this->bVisibility_; } 99 99 100 virtual const WorldEntity* getWorldEntity() const = 0;100 virtual const WorldEntity* getWorldEntity() const{ return this->wePtr_; } 101 101 102 102 const Vector3& getRVWorldPosition() const; … … 133 133 134 134 //Radar 135 const WorldEntity* wePtr_; 135 136 SmartPtr<Radar> radar_; 136 137 float radarObjectCamouflage_;
Note: See TracChangeset
for help on using the changeset viewer.