Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Continued working on script manager

File size: 714 bytes
RevLine 
[8093]1#include <string>
2#include <list>
[8085]3
4#include "script.h"
5#include "script_manager.h"
[8093]6
7
[8135]8ScriptManager::ScriptManager(std::string& world)
[8093]9{
[8131]10  this->init(world);
[8093]11
12}
13
14ScriptManager::~ScriptManager()
15{
16
17
18}
19
[8138]20ScriptManager* 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]32void ScriptManager::init(std::string& world)
[8093]33{
34
35
36}
37
38
39
40void ScriptManager::loadParams(const TiXmlElement* root)
41{
[8131]42  //BaseObject::loadParams(root);
[8093]43
[8131]44
[8093]45}
46
[8131]47
48void ScriptManager::tick(float timestep)
49{
50}
51
[8135]52void ScriptManager::changeWorld(std::string& newWorld)
[8131]53{
54}
55
56
[8135]57void ScriptManager::initScripts()
[8131]58{
59}
60
61
Note: See TracBrowser for help on using the repository browser.