Beispiel #1
0
void CEventHandler::GameOver()
{
	const int count = listGameOver.size();
	for (int i = 0; i < count; i++) {
		CEventClient* ec = listGameOver[i];
		ec->GameOver();
	}
}
Beispiel #2
0
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);
	}
}