Grid Placement

PlaceableSequenceFactory

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: placeables/placeable_sequence_factory.gd

Version: 5.0

class_name: PlaceableSequenceFactory extends: RefCounted

Summary

Factory utilities for creating and normalizing PlaceableSequence collections.

This factory implements the “Helper Factory (Suggested)” pattern mentioned in the UI PlaceableSequence guide documentation. It provides convenient methods for:

  • Converting individual Placeables into single-item sequences
  • Normalizing mixed arrays of Placeables and PlaceableSequences
  • Reducing UI wiring code when working with PlaceableList components

Usage Context: These utilities are designed for cases where you have existing Placeable collections but need to use them with PlaceableSequenceSelectionUI or PlaceableList components that expect PlaceableSequence objects.

Note: Currently not used in the main plugin demos, but provided as convenience utilities for game developers who need sequence normalization.

Signals

(none)

Exports

(none)

Methods

(none)