- Timestamp:
- Apr 8, 2009, 12:36:08 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/orxonox/overlays/OrxonoxOverlay.h
r2662 r2907 154 154 virtual void changedVisibility(); 155 155 156 inline void setOwner( ControllableEntity* owner)156 inline void setOwner(BaseObject* owner) 157 157 { 158 158 if (this->owner_ != owner) … … 162 162 } 163 163 } 164 inline ControllableEntity* getOwner() const164 inline BaseObject* getOwner() const 165 165 { return this->owner_; } 166 166 virtual void changedOwner() {} … … 200 200 201 201 private: 202 void windowResized( int newWidth,int newHeight);202 void windowResized(unsigned int newWidth, unsigned int newHeight); 203 203 204 204 static unsigned int hudOverlayCounter_s; //!< Static counter for hud elements … … 206 206 We could also use the ObjectList, but that doesn't guarantee XMLPort(.) was called and is slower. */ 207 207 static std::map<std::string, OrxonoxOverlay*> overlays_s; 208 ControllableEntity* owner_;208 BaseObject* owner_; 209 209 OverlayGroup* group_; 210 210 };
Note: See TracChangeset
for help on using the changeset viewer.