Britbot
bool Britbot.EnemyGroup.Equals ( ITarget  operandB) [inline]

Tests if two enemy groups are the same.

Parameters:
operandBthe target to test with
Returns:
True if identical or false otherwise

Implements Britbot.ITarget.

Definition at line 231 of file EnemyGroup.cs.

        {
            EnemyGroup enemyGroup = operandB as EnemyGroup;
            if (enemyGroup != null)
            {
                EnemyGroup b = enemyGroup;
                return this.Id == b.Id;
            }

            return false;
        }