Ejemplo n.º 1
0
        private void Squad_teamDamage(object sender, TeamDamageEventArgs e)
        {
            TeamDamageEventhandler handler = teamDamage;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Ejemplo n.º 2
0
 private void ECommander_teamDamage(object sender, TeamDamageEventArgs e)
 {
     score += Def.enemyScores[e.EnemyAttackerType];
 }