Changeset 5617 for code/branches/libraries/src/orxonox/overlays
- Timestamp:
- Aug 11, 2009, 12:27:38 AM (15 years ago)
- Location:
- code/branches/libraries/src/orxonox/overlays
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/libraries/src/orxonox/overlays/GUIOverlay.cc
r3370 r5617 36 36 #include "core/GUIManager.h" 37 37 #include "core/XMLPort.h" 38 #include "objects/quest/QuestManager.h" 39 #include "objects/infos/PlayerInfo.h" 38 40 39 41 namespace orxonox … … 79 81 } 80 82 83 void GUIOverlay::setGUIName(const std::string& name) 84 { 85 this->guiName_ = name; 86 QuestManager::getInstance().setPlayer(name, orxonox_cast<PlayerInfo*>(this->getOwner())); 87 } 81 88 } -
code/branches/libraries/src/orxonox/overlays/GUIOverlay.h
r3196 r5617 46 46 virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode); 47 47 48 inline void setGUIName(const std::string& name) { this->guiName_ = name; }48 void setGUIName(const std::string& name); 49 49 inline const std::string& getGUIName() const { return this->guiName_; } 50 50
Note: See TracChangeset
for help on using the changeset viewer.