Changeset 7163 for code/trunk/src/orxonox/Level.h
- Timestamp:
- Aug 11, 2010, 8:55:13 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/Level.h
r5929 r7163 34 34 #include <list> 35 35 #include <string> 36 #include <map> 36 37 #include "core/BaseObject.h" 37 38 #include "network/synchronisable/Synchronisable.h" 39 #include "graphics/MeshLodInformation.h" 38 40 39 41 namespace orxonox … … 46 48 47 49 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 48 void registerVariables();49 50 50 51 inline void setDescription(const std::string& description) … … 56 57 void playerLeft(PlayerInfo* player); 57 58 59 MeshLodInformation* getLodInfo(std::string meshName) const; 60 61 58 62 private: 63 void registerVariables(); 59 64 void addObject(BaseObject* object); 60 65 BaseObject* getObject(unsigned int index) const; 66 67 void addLodInfo(MeshLodInformation* object); 68 void networkCallbackTemplatesChanged(); 69 // const MeshLodInformation* getLodInfo(std::string meshName) const; 70 // MeshLodInformation* getLodInfo(unsigned int index) const; 61 71 62 72 void setGametypeString(const std::string& gametype); … … 66 76 void networkcallback_applyXMLFile(); 67 77 68 std::string description_; 69 std::string gametype_; 70 std::string xmlfilename_; 71 XMLFile* xmlfile_; 72 std::list<BaseObject*> objects_; 78 std::string description_; 79 std::string gametype_; 80 std::string xmlfilename_; 81 XMLFile* xmlfile_; 82 std::list<BaseObject*> objects_; 83 std::map<std::string,MeshLodInformation*> lodInformation_; 73 84 }; 74 85 }
Note: See TracChangeset
for help on using the changeset viewer.