Changeset 12028 for code/branches/mergeFS18/src/orxonox/Level.h
- Timestamp:
- Oct 10, 2018, 3:16:51 PM (5 years ago)
- Location:
- code/branches/mergeFS18
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/mergeFS18
- Property svn:mergeinfo changed
-
code/branches/mergeFS18/src/orxonox/Level.h
r11071 r12028 42 42 namespace orxonox 43 43 { 44 class ScriptableController; 45 44 46 class _OrxonoxExport Level : public BaseObject, public Synchronisable, public Context 45 47 { … … 55 57 MeshLodInformation* getLodInfo(std::string meshName) const; 56 58 59 inline ScriptableController *getScriptableController(void) 60 { return this->controller_.get(); } 61 62 inline const std::string &getScript(void) 63 { return this->level_script_; } 57 64 58 65 private: … … 78 85 void networkcallback_applyXMLFile(); 79 86 87 inline void setScript(const std::string &script) 88 { 89 orxout(internal_warning) << "hi world" << endl; 90 this->level_script_ = script; } 91 92 80 93 std::string pluginsString_; 81 94 std::list<PluginReference*> plugins_; 82 83 95 std::string gametype_; 84 96 std::string xmlfilename_; … … 86 98 std::list<BaseObject*> objects_; 87 99 std::map<std::string,MeshLodInformation*> lodInformation_; 100 101 std::unique_ptr<ScriptableController> controller_; 102 std::string level_script_; 88 103 }; 89 104 }
Note: See TracChangeset
for help on using the changeset viewer.