mirror of
https://github.com/kwsch/NHSE.git
synced 2026-03-22 09:44:49 -05:00
Updates the Field Item Editor to render layers based on the entire map, and the per-patch positioning of each layer. Import/export will gracefully handle upgrade/downgrade, and viewport import/export will gracefully update tiles rather than a per-acre basis. Performance has also been slightly improved; no allocation is done anymore when updating the image.
16 lines
657 B
C#
16 lines
657 B
C#
namespace NHSE.Core;
|
|
|
|
public sealed class MapTileManager
|
|
{
|
|
public required LayerPositionConfig ConfigTerrain { get; init; }
|
|
public required LayerPositionConfig ConfigItems { get; init; }
|
|
public required LayerPositionConfig ConfigBuildings { get; init; }
|
|
|
|
public required ILayerFieldItemSet FieldItems { get; init; }
|
|
public required ILayerFieldItemFlag LayerItemFlag0 { get; init; }
|
|
public required ILayerFieldItemFlag LayerItemFlag1 { get; init; }
|
|
public required ILayerBuilding LayerBuildings { get; init; }
|
|
|
|
public required MapStatePlaza Plaza { get; init; }
|
|
public required LayerTerrain LayerTerrain { get; set; }
|
|
} |