void CEventHandler::GameOver() { const int count = listGameOver.size(); for (int i = 0; i < count; i++) { CEventClient* ec = listGameOver[i]; ec->GameOver(); } }
void CEventHandler::GameOver(const std::vector<unsigned char>& winningAllyTeams) { const int count = listGameOver.size(); for (int i = 0; i < count; i++) { CEventClient* ec = listGameOver[i]; ec->GameOver(winningAllyTeams); } }