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); }
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); }
// // TeapotWarsLogic::~TeapotWarsLogic // TeapotWarsLogic::~TeapotWarsLogic() { RemoveAllDelegates(); DestroyAllNetworkEventForwarders(); }