source:
orxonox.OLD/branches/script_engine/src/lib/script_engine/script_manager.cc
@
8138
Last change on this file since 8138 was 8138, checked in by snellen, 18 years ago | |
---|---|
File size: 714 bytes |
Rev | Line | |
---|---|---|
[8093] | 1 | #include <string> |
2 | #include <list> | |
[8085] | 3 | |
4 | #include "script.h" | |
5 | #include "script_manager.h" | |
[8093] | 6 | |
7 | ||
[8135] | 8 | ScriptManager::ScriptManager(std::string& world) |
[8093] | 9 | { |
[8131] | 10 | this->init(world); |
[8093] | 11 | |
12 | } | |
13 | ||
14 | ScriptManager::~ScriptManager() | |
15 | { | |
16 | ||
17 | ||
18 | } | |
19 | ||
[8138] | 20 | ScriptManager* ScriptManager::getInstance() |
21 | { | |
22 | ||
23 | if (!ScriptManager::singletonRef) | |
24 | ScriptManager::singletonRef = new ScriptManager(); | |
25 | return ScriptManager::singletonRef; | |
26 | ||
27 | } | |
28 | ||
29 | ||
[8131] | 30 | //!< Fills the worldObject list |
[8093] | 31 | |
[8135] | 32 | void ScriptManager::init(std::string& world) |
[8093] | 33 | { |
34 | ||
35 | ||
36 | } | |
37 | ||
38 | ||
39 | ||
40 | void ScriptManager::loadParams(const TiXmlElement* root) | |
41 | { | |
[8131] | 42 | //BaseObject::loadParams(root); |
[8093] | 43 | |
[8131] | 44 | |
[8093] | 45 | } |
46 | ||
[8131] | 47 | |
48 | void ScriptManager::tick(float timestep) | |
49 | { | |
50 | } | |
51 | ||
[8135] | 52 | void ScriptManager::changeWorld(std::string& newWorld) |
[8131] | 53 | { |
54 | } | |
55 | ||
56 | ||
[8135] | 57 | void ScriptManager::initScripts() |
[8131] | 58 | { |
59 | } | |
60 | ||
61 |
Note: See TracBrowser
for help on using the repository browser.