Changeset 10575 for code/branches/core7/src/orxonox/overlays
- Timestamp:
- Sep 9, 2015, 2:02:01 PM (9 years ago)
- Location:
- code/branches/core7/src/orxonox/overlays
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/orxonox/overlays/OverlayGroup.cc
r10571 r10575 149 149 for (std::set< StrongPtr<OrxonoxOverlay> >::iterator it = hudElements_.begin(); it != hudElements_.end(); ++it) 150 150 (*it)->changedVisibility(); //inform all Child Overlays that our visibility has changed 151 }152 153 //! Changes the gametype of all elements154 void OverlayGroup::changedGametype()155 {156 SUPER( OverlayGroup, changedGametype );157 158 for (std::set< StrongPtr<OrxonoxOverlay> >::iterator it = hudElements_.begin(); it != hudElements_.end(); ++it)159 (*it)->setGametype(this->getGametype());160 151 } 161 152 -
code/branches/core7/src/orxonox/overlays/OverlayGroup.h
r10555 r10575 69 69 70 70 virtual void changedVisibility(); 71 virtual void changedGametype();72 71 73 72 void setOwner(BaseObject* owner);
Note: See TracChangeset
for help on using the changeset viewer.