TileGrid
namespace Griff.Scenes;
public sealed class TileGridA rectangle of a tilemap’s tiles as numbers (-1 for none), from its top left, read from the map and written back to it all at once: a match-3 or falling-block board’s.
Properties
Section titled “Properties”public int[,] Cells { get; init; }Columns
Section titled “Columns”public int Columns { get; }public int this[int x, int y] { get; set; }public int Rows { get; }Methods
Section titled “Methods”public TileGrid Copy()public static TileGrid Read(int columns, int rows, Tilemap map)public void Write(Tilemap map)