Move source projects into source directory

This commit is contained in:
Christopher Whitley
2024-05-18 19:59:41 -04:00
parent 9c5f7cd3b4
commit a4d72eaf6c
423 changed files with 123 additions and 105 deletions
@@ -0,0 +1,30 @@
using System.Collections.Generic;
using System.Xml.Serialization;
namespace MonoGame.Extended.Tiled.Serialization
{
public class TiledMapImageLayerContent : TiledMapLayerContent
{
[XmlAttribute(AttributeName = "x")]
public int X { get; set; }
[XmlAttribute(AttributeName = "y")]
public int Y { get; set; }
[XmlElement(ElementName = "image")]
public TiledMapImageContent Image { get; set; }
public TiledMapImageLayerContent()
: base(TiledMapLayerType.ImageLayer)
{
Opacity = 1.0f;
Visible = true;
Properties = new List<TiledMapPropertyContent>();
}
public override string ToString()
{
return $"{Name}: {Image}";
}
}
}