Grid Placement
Development ⚠️ GridPlacement 6.0 (GECS) is in active development. This is the GDScript ECS architecture.

GridBoundsRule

AUTO-GENERATED (GDScript) API entry

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: rules/impl/grid_bounds_rule.gd

Version: 6.0

class_name: GridBoundsRule extends: PlacementRule

Signals

(none)

Exports

  • min_pos: Vector2i = Vector2i.ZERO
    • Custom fail message when out of bounds.
  • max_pos: Vector2i = Vector2i(100, 100)
    • Custom fail message when out of bounds.
  • failed_message: String = “Placement is outside the allowed grid boundaries”

Methods

  • _init -> void
  • validate(context: PlacementRuleContext) -> ValidationResultComponent