Exemplo n.º 1
0
void World::Destroy()
{
	#if !ANGEL_MOBILE
		theInput.Destroy();
	#endif
	theSound.Shutdown();
	
	FinalizeTextureLoading();
	LuaScriptingModule::Finalize();
}
Exemplo n.º 2
0
void World::Destroy()
{
	#if !ANGEL_MOBILE
		theInput.Destroy();
	#endif
	theSound.Shutdown();
	
	FinalizeTextureLoading();
	LuaScriptingModule::Finalize();
    
    theUI.Shutdown();

	if (_gameManager != NULL)
	{
		delete _gameManager;
	}
}
Exemplo n.º 3
0
void World::Destroy()
{
	theSound.Shutdown();
	theInput.Destroy();
	
	FinalizeTextureLoading();
	PythonScriptingModule::Finalize();

	delete _physicsDebugDraw;
	
	StringSet subs = theSwitchboard.GetSubscriptionsFor(this);
	StringSet::iterator it = subs.begin();
	while (it != subs.end())
	{
		theSwitchboard.UnsubscribeFrom(this, *it);
		++it;
	}
}