Game/Source/SceneWin.cpp
// Called before quitting, frees memory and controls activa and inactive modules
Called before quitting, frees memory and controls activa and inactive modules
Called before quitting frees memory and controls activa and inactive modules
bool SceneWin::Unload()
{
	if (!active)
	{
		return false;
	}
	LOG("Unloading Win Screen");
	entityManager->DestroyEntity(map);
	audioManager->UnloadFX(victoryFX);
	active = false;
	return false;
}
bool SceneWin :: Unload ( ) { if ( ! active ) { return false ; } LOG ( " " ) ; entityManager -> DestroyEntity ( map ) ; audioManager -> UnloadFX ( victoryFX ) ; active = false ; return false ; }
Called before quitting, frees memory and controls activa and inactive modules
Called before quitting frees memory and controls activa and inactive modules