예제 #1
0
HarvesterFactory::~HarvesterFactory()
{
    _destroyDatabindings();

    mInsFlag = false;
    delete(mSingleton);
}
예제 #2
0
BuildingFactory::~BuildingFactory()
{
    _destroyDatabindings();

    mInsFlag = false;
    delete(mSingleton);
}
예제 #3
0
CSRManager::~CSRManager()
{
    CategoryList::iterator iter = mCategoryList.begin();

    while (!mCategoryList.empty())
    {
        SubCategoryList* subCatList = (*iter)->GetSubCategories();
        SubCategoryList::iterator subIter = subCatList->begin();

        while (!subCatList->empty())
        {
            delete (*subIter);
            subCatList->erase(subIter);
            subIter = subCatList->begin();
        }

        delete (*iter);
        mCategoryList.erase(iter);
        iter = mCategoryList.begin();
    }

    _unregisterCallbacks();
    _destroyDatabindings();

    mInsFlag = false;
    mSingleton = NULL;
    // delete(mSingleton);
}
예제 #4
0
BadgeRegionFactory::~BadgeRegionFactory()
{
	_destroyDatabindings();

	mInsFlag = false;
	delete(mSingleton);
}
예제 #5
0
ResourceManager::~ResourceManager()
{
    _destroyDatabindings();

    ResourceCategoryMap::iterator catIt = mResourceCategoryMap.begin();

    while(catIt != mResourceCategoryMap.end())
    {
        delete((*catIt).second);

        mResourceCategoryMap.erase(catIt++);
    }

    ResourceTypeMap::iterator typeIt = mResourceTypeMap.begin();

    while(typeIt != mResourceTypeMap.end())
    {
        delete((*typeIt).second);

        mResourceTypeMap.erase(typeIt++);
    }

    ResourceIdMap::iterator resIt = mResourceIdMap.begin();

    while(resIt != mResourceIdMap.end())
    {
        delete((*resIt).second);

        mResourceIdMap.erase(resIt++);
    }

    mInsFlag = false;
    delete(mSingleton);
}
예제 #6
0
TicketCollectorFactory::~TicketCollectorFactory()
{
    _destroyDatabindings();

    mInsFlag = false;
    delete(mSingleton);
}
예제 #7
0
InventoryFactory::~InventoryFactory()
{
	_destroyDatabindings();

	mInsFlag = false;
	delete(mSingleton);
}
예제 #8
0
ShuttleFactory::~ShuttleFactory()
{
    _destroyDatabindings();

    mInsFlag = false;
    delete(mSingleton);
}
예제 #9
0
PersistentNpcFactory::~PersistentNpcFactory()
{
    _destroyDatabindings();

    mInsFlag = false;
    //delete(mSingleton);
}
예제 #10
0
WaypointFactory::~WaypointFactory()
{
    _destroyDatabindings();

    mInsFlag = false;
    delete(mSingleton);
}
예제 #11
0
TerminalFactory::~TerminalFactory()
{
    _destroyDatabindings();

    mInsFlag = false;
    delete(mSingleton);
}
예제 #12
0
NonPersistentItemFactory::~NonPersistentItemFactory()
{
    _destroyDatabindings();
    mSingleton = NULL;
}
ContainerObjectFactory::~ContainerObjectFactory()
{
    _destroyDatabindings();
}