Changeset 7072 for code/branches/presentation3/src/libraries
- Timestamp:
- Jun 1, 2010, 9:28:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/libraries/core/GUIManager.h
r7012 r7072 97 97 inline void setPlayer(const std::string& guiname, PlayerInfo* player) 98 98 { this->players_[guiname] = player; } 99 inline PlayerInfo* getPlayer(const std::string& guiname) const 100 { std::map<std::string, PlayerInfo*>::const_iterator it = this->players_.find(guiname); return (it != this->players_.end()) ? it->second : 0; } 99 inline orxonox::PlayerInfo* getPlayer(const std::string& guiname) const { std::map<std::string, PlayerInfo*>::const_iterator it = this->players_.find(guiname); return (it != this->players_.end()) ? it->second : 0; } // tolua_export 101 100 102 101 // TODO: Temporary hack because the tolua exported CEGUI method does not seem to work
Note: See TracChangeset
for help on using the changeset viewer.