Table of Contents

Namespace MoonBark.GridPlacement.Godot.Placement.PlacementRules

Classes

CollisionCheckRule

Rule that checks for collision at a single point using Godot's IntersectPoint. Returns true if the point is empty (no collision), false if occupied.

CollisionCheckRule.MethodName

Cached StringNames for the methods contained in this class, for fast lookup.

CollisionCheckRule.PropertyName

Cached StringNames for the properties and fields contained in this class, for fast lookup.

CollisionCheckRule.SignalName

Cached StringNames for the signals contained in this class, for fast lookup.

GhostCollisionFootprintTileCheckRule

Rule that checks if a ghost collision footprint overlaps with existing tiles. Used to prevent overlapping placements during the ghost/preview phase.

GhostCollisionFootprintTileCheckRule.MethodName

Cached StringNames for the methods contained in this class, for fast lookup.

GhostCollisionFootprintTileCheckRule.PropertyName

Cached StringNames for the properties and fields contained in this class, for fast lookup.

GhostCollisionFootprintTileCheckRule.SignalName

Cached StringNames for the signals contained in this class, for fast lookup.

GroundBelowRule

Rule that checks for ground beneath the placement position using a downward raycast. Used to ensure objects are placed on valid surfaces rather than floating in air.

GroundBelowRule.MethodName

Cached StringNames for the methods contained in this class, for fast lookup.

GroundBelowRule.PropertyName

Cached StringNames for the properties and fields contained in this class, for fast lookup.

GroundBelowRule.SignalName

Cached StringNames for the signals contained in this class, for fast lookup.

PlacementRule

Base class for all placement rules.

Each rule defines a specific condition that must be satisfied for a placement to be considered valid at a given position.

PlacementRule.MethodName

Cached StringNames for the methods contained in this class, for fast lookup.

PlacementRule.PropertyName

Cached StringNames for the properties and fields contained in this class, for fast lookup.

PlacementRule.SignalName

Cached StringNames for the signals contained in this class, for fast lookup.

TileCheckRule

Abstract base class for tile check rules that use Godot physics queries. These rules validate whether a placement is physically valid at a position.

TileCheckRule.MethodName

Cached StringNames for the methods contained in this class, for fast lookup.

TileCheckRule.PropertyName

Cached StringNames for the properties and fields contained in this class, for fast lookup.

TileCheckRule.SignalName

Cached StringNames for the signals contained in this class, for fast lookup.

TileCheckRuleExecutor

Executes tile check rules for placement validation. Coordinates bulk physics queries against registered rules.

Enums

TileCheckType

Defines the type of physics check performed by a TileCheckRule.