private void Squad_teamDamage(object sender, TeamDamageEventArgs e) { TeamDamageEventhandler handler = teamDamage; if (handler != null) { handler(this, e); } }
private void ECommander_teamDamage(object sender, TeamDamageEventArgs e) { score += Def.enemyScores[e.EnemyAttackerType]; }