grid_positioner_rotation_integration_test

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

Integration test for ManipulationParent rotation functionality Tests the grid-aware rotation integration with ManipulationParent input handling

NOTE: Rotation logic has been moved from GridPositioner2D to ManipulationParent. GridPositioner2D now focuses strictly on tile center targeting.

Source File: /addons/grid_building/test/integration/grid_positioner_rotation_integration_test.gd

Extends: GdUnitTestSuite

Properties

  • Property: manipulation_parent: [ManipulationParent](./manipulation-parent/)
  • Property: test_map: TileMapLayer
  • Property: test_object: Node2D
  • Property: manipulation_state: [ManipulationState](./manipulation-state/)
  • Property: manipulation_settings: [ManipulationSettings](./manipulation-settings/)
  • Property: actions: [GBActions](./gb-actions/)
  • Property: container: [GBCompositionContainer](./gb-composition-container/)

Public Methods

before_test

1
before_test() -> void

after_test

1
after_test() -> void

test_grid_aware_rotation_input_handling

1
test_grid_aware_rotation_input_handling() -> void

Test that grid-aware rotation methods work correctly


test_grid_aware_rotation_counter_clockwise

1
test_grid_aware_rotation_counter_clockwise() -> void

Test counter-clockwise grid-aware rotation


test_simple_degree_rotation_fallback

1
test_simple_degree_rotation_fallback() -> void

Test that simple degree-based rotation works as fallback when no TileMapLayer is available


test_rotation_disabled_when_settings_disabled

1
test_rotation_disabled_when_settings_disabled() -> void

Test that rotation is disabled when settings are disabled


test_direct_grid_aware_rotation_methods

1
test_direct_grid_aware_rotation_methods() -> void

Test grid-aware rotation methods directly


test_children_inherit_rotation

1
test_children_inherit_rotation() -> void

Test that children of ManipulationParent are rotated along with the parent


test_rotation_sequence_maintains_cardinal_directions

1
test_rotation_sequence_maintains_cardinal_directions() -> void

Test complete rotation sequence maintains cardinal directions



Grid Building v5.0.8 | Generated 24/05/2026