Britbot
bool Britbot.EnemyGroup.Equals ( EnemyGroup  other) [inline, protected]

Tests if two enemy groups are the same.

Parameters:
otherthe EnemyGroup to test with
Returns:
True if identical or false otherwise

Definition at line 604 of file EnemyGroup.cs.

        {
            if (this.EnemyPirates.Count != other.EnemyPirates.Count)
                return false;

            for (int i = 0; i < this.EnemyPirates.Count; i++)
                if (this.EnemyPirates[i] != other.EnemyPirates[i])
                    return false;

            return true;
        }