Exemplo n.º 1
0
 public static void Pin(IEngineer2 engineer, IAgentInfo attacker)
 {
     if (!attacker.Effects.Contains(AgentEffect.Pin))
     {
         engineer.Pin(attacker);
     }
 }
Exemplo n.º 2
0
 public static void Pin(IAgentInfo attacker, IEngineer2 engineer)
 {
     if ((attacker.EffectFlags & AgentEffect.Pin) != AgentEffect.Pin)
         engineer.Pin(attacker);
 }