mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-05-08 20:06:03 +03:00
21 lines
416 B
C#
21 lines
416 B
C#
using System.Collections.Generic;
|
|
|
|
namespace DotTiled;
|
|
|
|
public enum DrawOrder
|
|
{
|
|
TopDown,
|
|
Index
|
|
}
|
|
|
|
public class ObjectLayer : BaseLayer
|
|
{
|
|
// Attributes
|
|
public uint? Width { get; set; }
|
|
public uint? Height { get; set; }
|
|
public required Color? Color { get; set; }
|
|
public required DrawOrder DrawOrder { get; set; } = DrawOrder.TopDown;
|
|
|
|
// Elements
|
|
public required List<Object> Objects { get; set; }
|
|
}
|