Table of Contents

Class PlacementRequirements

Namespace
MoonBark.GridPlacement.Core.Data
Assembly
MoonBark.GridPlacement.Core.dll

Requirements for placing a placeable

public class PlacementRequirements
Inheritance
PlacementRequirements
Inherited Members

Properties

BlockedNearby

Blocked nearby placeables

public string[] BlockedNearby { get; set; }

Property Value

string[]

MaxCount

Maximum placement count

public int MaxCount { get; set; }

Property Value

int

MinimumDistanceFromSame

Minimum distance from same type

public int MinimumDistanceFromSame { get; set; }

Property Value

int

MinimumGridSize

Minimum grid size required

public CoreRect2I MinimumGridSize { get; set; }

Property Value

CoreRect2I

RequiredNearby

Required nearby placeables

public string[] RequiredNearby { get; set; }

Property Value

string[]

RequiresPower

Whether this requires power connection

public bool RequiresPower { get; set; }

Property Value

bool

RequiresWater

Whether this requires water access

public bool RequiresWater { get; set; }

Property Value

bool

TerrainTypes

Required terrain types

public string[] TerrainTypes { get; set; }

Property Value

string[]