Chessistics/chessistics-engine/Model/TerrainPatch.cs

19 lines
495 B
C#
Raw Normal View History

namespace Chessistics.Engine.Model;
public class TerrainPatch
{
public int NewWidth { get; init; }
public int NewHeight { get; init; }
public IReadOnlyList<PatchCell> Cells { get; init; } = [];
}
public class PatchCell
{
public int Col { get; init; }
public int Row { get; init; }
public CellType Type { get; init; }
public ProductionDef? Production { get; init; }
public DemandDef? Demand { get; init; }
public TransformerDef? Transformer { get; init; }
}