| 123456789101112131415161718192021222324 |
- // Copyright (c) Craftwork Games. All rights reserved.
- // Licensed under the MIT license.
- // See LICENSE file in the project root for full license information.
- using System.Collections.Generic;
- using System.Xml.Serialization;
- using MonoGame.Extended.Tiled;
- namespace MonoGame.Extended.Content.Tiled;
- public class TiledMapGroupLayerContent : TiledMapLayerContent
- {
- protected TiledMapGroupLayerContent()
- : base(TiledMapLayerType.GroupLayer)
- {
- }
- [XmlElement(ElementName = "layer", Type = typeof(TiledMapTileLayerContent))]
- [XmlElement(ElementName = "imagelayer", Type = typeof(TiledMapImageLayerContent))]
- [XmlElement(ElementName = "objectgroup", Type = typeof(TiledMapObjectLayerContent))]
- [XmlElement(ElementName = "group", Type = typeof(TiledMapGroupLayerContent))]
- public List<TiledMapLayerContent> Layers { get; set; }
- }
|