Chessistics/chessistics-engine/Model/TerrainPatch.cs
Samuel Bouchet 2d1aea0a7a Snapshot campaign system progress before automation harness
Bundles in-flight work on the campaign/missions system (CampaignDef,
MissionDef, TerrainPatch, TransformerDef, MissionChecker, CampaignLoader,
FlavorBanner, transformer rules), plan files, and matching tests. Baseline
commit so the upcoming automation testing harness lands on a clean tree.
2026-04-16 21:22:49 +02:00

18 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; }
}