Table of Contents

Class PlacementRuleData

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

Data structure for placement validation rules Pure C# implementation without Godot dependencies

public class PlacementRuleData
Inheritance
PlacementRuleData
Inherited Members

Properties

IsActive

public bool IsActive { get; set; }

Property Value

bool

IsValid

public bool IsValid { get; set; }

Property Value

bool

Name

public string Name { get; set; }

Property Value

string

Parameters

public Dictionary<string, object> Parameters { get; set; }

Property Value

Dictionary<string, object>

RuleId

public string RuleId { get; set; }

Property Value

string

Methods

Validate(FootprintData, CoreVector2I)

public bool Validate(FootprintData footprint, CoreVector2I position)

Parameters

footprint FootprintData
position CoreVector2I

Returns

bool