Skip to content

TileAmountsAttribute

namespace Griff.Modules.BlockWorlds;
public sealed class TileAmountsAttribute : RowsAttribute

Marks a string as tiles (a tile or a range) each with a number, “2 0.8, 3-4 1.2” or “3 6%” (a Blocks’ Hardness, a WorldGenerator’s Ores): the Inspector lists them a row each, the tile picked off the tileset and the number set.

public override IReadOnlyList<RowColumn> Columns { get; }
public override string Example { get; }
public override string Noun { get; }
public string Unit { get; }

What it’s written with after it.

public string What { get; }

What the number is.

public override string Describe()
public override IReadOnlyList<string>? Read(string row)
public override string Write(IReadOnlyList<string> cells)