Table of Contents

Class ManipulatableSettings

Namespace
GridPlacement.GDScript
Assembly
MoonBark.GridPlacement.GDScript.dll

Settings for object manipulation rules and placement requirements.

class ManipulatableSettings extends GBResource
ManipulatableSettings

Properties

move_rules

Rules required for completing move actions. If [member ignore_base_rules] is [code]false[/code], these rules are combined with base rules from [member GBSettings.placement_rules].

@export var move_rules: Array[TileCheckRule] = []

ignore_base_rules

When [code]true[/code], skips base placement rules from [member GBSettings.placement_rules] and uses ONLY the rules defined in [member move_rules].\n\nUse cases: - [code]false[/code] (default): Inherit common rules + add movement-specific rules - [code]true[/code]: Completely custom move validation (e.g., flying units ignore terrain)

@export var ignore_base_rules: bool = false

rotatable

Marks whether the placeable preview should be allowed to be rotated left and right

@export var rotatable: bool = false

flip_horizontal

Marks whether the placeable preview should be allowed to be flipped horizontally

@export var flip_horizontal: bool = false

flip_vertical

Marks whether the placeable preview should be allowed to be flipped vertically

@export var flip_vertical: bool = false

movable

Whether the full object and all children is to be movable

@export var movable = true

demolishable

Whether the full object and all children is to be demolishable (intentionally destroyed)

@export var demolishable = true

issues

var issues: Array[String] = []

issues

var issues: Array[String] = []

Methods

get_editor_issues

func get_editor_issues() -> Array[String]:

Returns

get_runtime_issues

func get_runtime_issues() -> Array[String]:

Returns