Grid Placement

Manipulatable

AUTO-GENERATED (GDScript) API entry

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: components/manipulatable.gd

Version: 5.0

class_name: Manipulatable extends: GBGameNode

Signals

  • manipulation_finished(old_transform: Transform2D, new_transform: Transform2D)
    • Rule settings for replacing this object in move mode, etc
    • The root of the object that should be manipulated
    • by any actions. This manipulatable component is usually a child of the root.
  • with

Exports

  • settings
    • The root of the object that should be manipulated
    • by any actions. This manipulatable component is usually a child of the root.
  • root
    • Parameters:
      • old_transform: Transform2D - The transform before manipulation
      • new_transform: Transform2D - The transform after manipulation
    • Rule settings for replacing this object in move mode, etc

Methods

  • resolve_gb_dependencies(p_container: GBCompositionContainer)
  • is_root_hierarchy_valid -> bool
  • create_copy(p_name_postfix: String) -> Manipulatable
  • get_move_rules -> Array
  • is_demolishable -> bool
  • is_movable -> bool
  • validate_setup -> bool
  • get_issues -> Array
  • complete_manipulation(p_position: Vector2, p_rotation: float, p_scale: Vector2, p_old_transform: Transform2D, p_move_data: ManipulationData = null) -> void
  • _on_root_exiting
  • _apply_manipulation_transforms(p_position: Vector2, p_rotation: float, p_scale: Vector2) -> void