Class PlacementRequirements
- Namespace
- MoonBark.GridPlacement.Core.Data.Placement
- Assembly
- MoonBark.GridPlacement.Core.dll
Placement requirements for a building.
public class PlacementRequirements
- Inheritance
-
PlacementRequirements
- Inherited Members
Properties
MaxDistanceFromBuildingTypes
Maximum distance from certain building types. Key: Building type, Value: Maximum distance
public Dictionary<string, int> MaxDistanceFromBuildingTypes { get; set; }
Property Value
MinDistanceFromBuildings
Minimum distance from other buildings.
public int MinDistanceFromBuildings { get; set; }
Property Value
OverrideBuildableCheck
Whether to override the buildable check.
public bool OverrideBuildableCheck { get; set; }
Property Value
RequiresFlatTerrain
Whether the building must be placed on flat terrain.
public bool RequiresFlatTerrain { get; set; }
Property Value
RequiresWater
Whether the building must be placed near water.
public bool RequiresWater { get; set; }
Property Value
TerrainTypes
Required terrain types.
public List<string> TerrainTypes { get; set; }
Property Value
ZoneTypes
Required zone types.
public List<string> ZoneTypes { get; set; }