An editor placement tool for Advanced Mapping Tools. Adds a 'Gateway' entry under the 'Arches & Vaults' tool category, and wires a GatewayGenerator plus GatewaySettings into the shared PropEditor base so a single click with the primitive tool drops a gateway made of separate, editable parts.
namespace AdvancedMappingTools;
/// <summary>
/// Places a freestanding gateway. Click once with the primitive tool; the portal is made
/// of independent parts and can be edited afterwards like any other building.
/// </summary>
[ToolCategory( "Arches & Vaults" )]
[Title( "Gateway" ), Icon( "sensor_door" )]
public sealed class GatewayEditor( PrimitiveTool tool ) : PropEditor( tool )
{
readonly GatewayGenerator _generator = new();
public GatewaySettings Settings { get; } = new();
protected override IPartGenerator Generator => _generator;
public override PropSettings Props => Settings;
}