mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 20:12:23 +00:00
Move source projects into source directory
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace MonoGame.Extended.Tiled.Serialization
|
||||
{
|
||||
public class TiledMapObjectLayerContent : TiledMapLayerContent
|
||||
{
|
||||
public TiledMapObjectLayerContent()
|
||||
: base(TiledMapLayerType.ObjectLayer)
|
||||
{
|
||||
Objects = new List<TiledMapObjectContent>();
|
||||
}
|
||||
|
||||
[XmlAttribute(AttributeName = "color")]
|
||||
public string Color { get; set; }
|
||||
|
||||
[XmlElement(ElementName = "object")]
|
||||
public List<TiledMapObjectContent> Objects { get; set; }
|
||||
|
||||
[XmlAttribute(AttributeName = "draworder")]
|
||||
public TiledMapObjectDrawOrderContent DrawOrder { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return Name;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user