Ejemplo n.º 1
0
 public static function Merge(BuildingGroup $b1, BuildingGroup $b2)
 {
     if ($b1->Colony()->Equals($b2->Colony())) {
         return BuildingGroup::NewBuildingGroup(array_merge($b1->Members(), $b2->Members()), $b1->Colony());
     }
 }