Class PlacementEnums
- Namespace
- GridPlacement.GDScript
- Assembly
- MoonBark.GridPlacement.GDScript.dll
Centralized enums used across the Grid Building plugin.\n\nCollects shared enum types (modes, actions, statuses, tile types) used by systems, UI, and tests.
class PlacementEnums
Fields
BuildType
Defines what building operation is being performed PLACE is the canonical name for placement mode (5.2+) BUILD is kept for backward compatibility (legacy name for PLACE) Defines what moves are allowed for purposes like AStarGrid2D pathing Actions that can be taken within the placement system PLACE is the canonical name for placement action (5.1+) BUILD is kept for backward compatibility (legacy name for PLACE) Type of placement operation being performed PlacementType is the canonical name (5.1+) BuildType is kept for backward compatibility (legacy name for PlacementType) @deprecated Use PlacementType instead. BuildType is a backward-compatible alias.
const BuildType = PlacementType
Methods
is_placement_mode
static func is_placement_mode(p_mode: Mode) -> bool:
Parameters
p_mode
Returns
mode_to_string
static func mode_to_string(mode: Mode) -> String:
Parameters
mode
Returns
projection_method_to_string
static func projection_method_to_string(method: ProjectionMethod) -> String:
Parameters
method