Table of Contents

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

Dictionary<string, int>

MinDistanceFromBuildings

Minimum distance from other buildings.

public int MinDistanceFromBuildings { get; set; }

Property Value

int

OverrideBuildableCheck

Whether to override the buildable check.

public bool OverrideBuildableCheck { get; set; }

Property Value

bool

RequiresFlatTerrain

Whether the building must be placed on flat terrain.

public bool RequiresFlatTerrain { get; set; }

Property Value

bool

RequiresWater

Whether the building must be placed near water.

public bool RequiresWater { get; set; }

Property Value

bool

TerrainTypes

Required terrain types.

public List<string> TerrainTypes { get; set; }

Property Value

List<string>

ZoneTypes

Required zone types.

public List<string> ZoneTypes { get; set; }

Property Value

List<string>