|
My Project
|
factory class for multiple instances of CBlockWorld More...
#include <BlockWorldManager.h>
Public Types | |
| typedef std::map< std::string, CBlockWorld * > | BlockWorldMap_t |
Public Member Functions | |
| CBlockWorld * | GetBlockWorld (const std::string &sInstanceName) |
| get block world by name. More... | |
| void | RemoveBlockWorld (const std::string &sInstanceName) |
| CBlockWorld * | CreateBlockWorld (const std::string &sInstanceName) |
| create a new block world by name. More... | |
| CBlockWorld * | CreateGetBlockWorld (const std::string &sInstanceName) |
| create get a block world | |
| void | Cleanup () |
| called once when application exits | |
Public Member Functions inherited from ParaEngine::CRefCounted | |
| void | addref () const |
| add reference count of the object. More... | |
| bool | delref () const |
| decrease reference count of the object. More... | |
| int | GetRefCount () const |
| get the reference count | |
| virtual int | Release () |
| CRefCounted * | AddToAutoReleasePool () |
| addref and releases the ownership sometime soon automatically (usually at the end of the current frame). More... | |
Static Public Member Functions | |
| static CBlockWorldManager * | GetSingleton () |
Additional Inherited Members | |
Protected Attributes inherited from ParaEngine::CRefCounted | |
| int | m_refcount |
factory class for multiple instances of CBlockWorld
| CBlockWorld * ParaEngine::CBlockWorldManager::CreateBlockWorld | ( | const std::string & | sInstanceName | ) |
create a new block world by name.
| CBlockWorld * ParaEngine::CBlockWorldManager::GetBlockWorld | ( | const std::string & | sInstanceName | ) |
get block world by name.
1.8.12