using Content.Shared.Procedural;
using Content.Shared.Whitelist;
using Robust.Shared.Prototypes;
namespace Content.Server.Procedural;
///
/// Marker that indicates the specified room prototype should occupy this space.
///
[RegisterComponent]
public sealed partial class RoomFillComponent : Component
{
///
/// Are we allowed to rotate room templates?
/// If the room is not a square this will only do 180 degree rotations.
///
[DataField]
public bool Rotation = true;
///
/// Size of the room to fill.
///
[DataField(required: true)]
public Vector2i Size;
///
/// Rooms allowed for the marker.
///
[DataField]
public EntityWhitelist? RoomWhitelist;
///
/// Should any existing entities / decals be bulldozed first.
///
[DataField]
public bool ClearExisting;
}