My Project
WorldInfo.h
1 #pragma once
2 
3 #include "./terrain/WorldNameFactory.h"
4 #include <string>
5 namespace ParaEngine
6 {
7  using namespace ParaTerrain;
13  {
14  public:
15  CWorldInfo(void);
16  ~CWorldInfo(void);
20  CWorldInfo(const string& sWorldConfigFile);
22  static CWorldInfo& GetSingleton();
23  public:
46  void SetScriptSandBox(const char* sSandboxNeuronFile);
47 
51  const char* GetScriptSandBox();
52 
53  private:
54  std::string m_sScriptSandbox;
55  };
56 
57 }
Definition: SceneObject.h:15
Providing information about the current game world.
Definition: WorldInfo.h:12
different physics engine has different winding order.
Definition: EventBinding.h:32
static CWorldInfo & GetSingleton()
a singleton class
Definition: WorldInfo.cpp:29
world name factory
Definition: WorldNameFactory.h:9
void SetScriptSandBox(const char *sSandboxNeuronFile)
Paraworld is told to execute in the given sandbox.
Definition: WorldInfo.cpp:36
const char * GetScriptSandBox()
please see SetScriptSandBox()
Definition: WorldInfo.cpp:44