TiledMapGroupLayer.cs 514 B

1234567891011121314151617
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using Microsoft.Xna.Framework;
  5. namespace MonoGame.Extended.Tiled
  6. {
  7. public class TiledMapGroupLayer : TiledMapLayer
  8. {
  9. public List<TiledMapLayer> Layers { get; }
  10. public TiledMapGroupLayer(string name, string type, List<TiledMapLayer> layers, Vector2? offset = null, Vector2? parallaxFactor = null, float opacity = 1, bool isVisible = true)
  11. : base(name, type, offset, parallaxFactor, opacity, isVisible)
  12. {
  13. Layers = layers;
  14. }
  15. }
  16. }