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