Exemplo n.º 1
0
        public override object Clone()
        {
            MapObjectGroup newMapObject = new MapObjectGroup();

            newMapObject.Bounds = (AABB)Bounds.Clone();
            foreach (MapObject mapObject in MapObjectList)
            {
                newMapObject.MapObjectList.Add((MapObject)mapObject.Clone());
            }

            return(newMapObject);
        }
Exemplo n.º 2
0
 public void Visit(MapObjectGroup mapObjectGroup)
 {
     OnMapObjectGroup?.Invoke(mapObjectGroup);
 }