mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-05-08 20:26:03 +03:00
21 lines
483 B
C#
21 lines
483 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 int 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; } = [];
|
|
}
|