13 typedef std::map<std::string, CBlockWorld*> BlockWorldMap_t;
23 void RemoveBlockWorld(
const std::string& sInstanceName);
35 BlockWorldMap_t m_mapBlockWorlds;
CBlockWorld * CreateBlockWorld(const std::string &sInstanceName)
create a new block world by name.
Definition: BlockWorldManager.cpp:50
different physics engine has different winding order.
Definition: EventBinding.h:32
factory class for multiple instances of CBlockWorld
Definition: BlockWorldManager.h:10
CBlockWorld * GetBlockWorld(const std::string &sInstanceName)
get block world by name.
Definition: BlockWorldManager.cpp:30
base class for an instance of block world
Definition: BlockWorld.h:35
CBlockWorld * CreateGetBlockWorld(const std::string &sInstanceName)
create get a block world
Definition: BlockWorldManager.cpp:57
void Cleanup()
called once when application exits
Definition: BlockWorldManager.cpp:70