- Timestamp:
- Apr 12, 2018, 2:07:03 PM (7 years ago)
- Location:
- code/branches/ScriptableController_FS18
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ScriptableController_FS18
- Property svn:mergeinfo changed
/code/branches/ScriptableController_HS17 (added) merged: 11462,11518-11519,11549,11552,11562,11583,11606,11638,11662,11673-11674,11684,11852,11854
- Property svn:mergeinfo changed
-
code/branches/ScriptableController_FS18/src/orxonox/Level.h
r11071 r11855 42 42 namespace orxonox 43 43 { 44 class ScriptableController; 45 44 46 class _OrxonoxExport Level : public BaseObject, public Synchronisable, public Context 45 47 { … … 54 56 55 57 MeshLodInformation* getLodInfo(std::string meshName) const; 58 59 inline ScriptableController *getScriptableController(void) 60 { return this->controller_.get(); } 61 62 inline const std::string &getScript(void) 63 { return this->level_script_; } 56 64 57 65 … … 78 86 void networkcallback_applyXMLFile(); 79 87 88 inline void setScript(const std::string &script) 89 { this->level_script_ = script; } 90 91 80 92 std::string pluginsString_; 81 93 std::list<PluginReference*> plugins_; 82 83 94 std::string gametype_; 84 95 std::string xmlfilename_; … … 86 97 std::list<BaseObject*> objects_; 87 98 std::map<std::string,MeshLodInformation*> lodInformation_; 99 100 std::unique_ptr<ScriptableController> controller_; 101 std::string level_script_; 88 102 }; 89 103 }
Note: See TracChangeset
for help on using the changeset viewer.