Example #1
0
HumanView::~HumanView()
{
	RemoveAllDelegates();
	while (!m_screenElements.empty())
	{
		m_screenElements.pop_front();
	}

	SAFE_DELETE(m_pDebugManager);

	SAFE_DELETE(m_pProcessManager);
	SAFE_DELETE(m_pScene);
}
HumanView::~HumanView()
{
	RemoveAllDelegates();

	// remove all UI elements
	while (!m_ScreenElements.empty())
	{
		m_ScreenElements.pop_front();
	}

	CB_SAFE_DELETE(m_pProcessManager);
	CB_SAFE_DELETE(g_pAudio);
}
Example #3
0
HumanView::~HumanView()
{
	// [mrmike] - RemoveAllDelegates was added post press to handle move, new, and destroy actor events.
	RemoveAllDelegates();

	while (!m_ScreenElements.empty())
	{
		m_ScreenElements.pop_front();		
	}

	SAFE_DELETE(m_pProcessManager);

	SAFE_DELETE(g_pAudio);
}
Example #4
0
//
// TeapotWarsLogic::~TeapotWarsLogic
//
TeapotWarsLogic::~TeapotWarsLogic()
{
    RemoveAllDelegates();
    DestroyAllNetworkEventForwarders();
}