HarvesterFactory::~HarvesterFactory()
{
    _destroyDatabindings();

    mInsFlag = false;
    delete(mSingleton);
}
BuildingFactory::~BuildingFactory()
{
    _destroyDatabindings();

    mInsFlag = false;
    delete(mSingleton);
}
Exemple #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);
}
BadgeRegionFactory::~BadgeRegionFactory()
{
	_destroyDatabindings();

	mInsFlag = false;
	delete(mSingleton);
}
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);
}
TicketCollectorFactory::~TicketCollectorFactory()
{
    _destroyDatabindings();

    mInsFlag = false;
    delete(mSingleton);
}
InventoryFactory::~InventoryFactory()
{
	_destroyDatabindings();

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

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

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

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

    mInsFlag = false;
    delete(mSingleton);
}
NonPersistentItemFactory::~NonPersistentItemFactory()
{
    _destroyDatabindings();
    mSingleton = NULL;
}
ContainerObjectFactory::~ContainerObjectFactory()
{
    _destroyDatabindings();
}