Example #1
0
void CDemo::Destroy (void)
{
    CModeScreen::Destroy();

    m_Font.Destroy();
    m_AiManager.Destroy();

    StopSong();
    DestroyHurryUpMessage();
    DestroyMainComponents();
}
Example #2
0
void CMatch::Destroy (void)
{
    CModeScreen::Destroy();

    if ( computerPlayersPresent ) {
        m_AiManager.Destroy();
    }

    DestroyHurryUpMessage();
    DestroyPauseMessage();
    DestroyMainComponents();
    StopSong();
}