DotTiled/DotTiled/Model/Tileset/Wangset.cs
2024-07-26 00:37:47 +02:00

21 lines
484 B
C#

using System.Collections.Generic;
namespace DotTiled;
public class Wangset
{
// Attributes
public required string Name { get; set; }
public string Class { get; set; } = "";
public required uint Tile { get; set; }
// Elements
// At most one of
public Dictionary<string, IProperty>? Properties { get; set; }
// Up to 254 Wang colors
public List<WangColor>? WangColors { get; set; } = [];
// Any number of
public List<WangTile> WangTiles { get; set; } = [];
}