Britbot
static bool Britbot.Simulator.SimulatedGroup.operator== ( SimulatedGroup  sg1,
SimulatedGroup  sg2 
) [inline, static]

Checks if two groups are identical.

Parameters:
sg1first group
sg2second group
Returns:
true if the two groups are identical and false if not

Definition at line 119 of file SimulatedGroup.cs.

        {
            if (ReferenceEquals(sg1, null) && ReferenceEquals(sg2, null))
                return true; //both null

            return !ReferenceEquals(sg1,null) && !ReferenceEquals(sg2,null) && sg1.Id == sg2.Id;
        }