Grid Placement

PlaceableSequence

AUTO-GENERATED (GDScript) API entry

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: placeables/placeable_sequence.gd

Version: 5.0

class_name: PlaceableSequence extends: GBResource

Signals

(none)

Exports

  • display_name: String = “Sequence”
    • tower_sequence.placeables = [basic_tower, heavy_tower, rapid_tower]
    • [/codeblock]
    • Integration:
      • Use with PlaceableSequenceSelectionUI for tabbed variant selection
      • Compatible with existing BuildingSystem placement workflow
      • Each variant maintains its own placement rules and validation
  • placeables: Array
    • [/codeblock]
    • Integration:
      • Use with PlaceableSequenceSelectionUI for tabbed variant selection
      • Compatible with existing BuildingSystem placement workflow
      • Each variant maintains its own placement rules and validation
  • icon: Texture2D
    • Returns the total number of placeable variants in this sequence.
    • Used by UI components to determine if variant cycling controls should be displayed.
    • [return] Number of placeable variants (0 if empty)

Methods

  • count -> int
  • get_variant(index: int) -> Resource
  • variant_display_name(index: int) -> String
    • Get the variant resource at the specified index
  • get_editor_issues -> Array
    • Collection to accumulate all validation issues found
  • get_runtime_issues -> Array
    • Collection to accumulate all runtime validation issues