19 lines
495 B
C#
19 lines
495 B
C#
|
|
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; }
|
||
|
|
}
|