diff --git a/src/field/gameboard/events/cinematic_mode_listener.gd b/src/field/gameboard/events/cinematic_helper.gd similarity index 96% rename from src/field/gameboard/events/cinematic_mode_listener.gd rename to src/field/gameboard/events/cinematic_helper.gd index 96748930bd131d4ec0f5f9a7c5a57735da6e0c49..e343603a2880d4b515db04197d47a3fc1d1404b4 100644 --- a/src/field/gameboard/events/cinematic_mode_listener.gd +++ b/src/field/gameboard/events/cinematic_helper.gd @@ -4,7 +4,7 @@ ## Additionally, the function will begin a process that will wait for all currently moving ## gamepieces to finish their movement at which point [signal cinematic_mode_started] will be ## emitted. -class_name CinematicModeListener +class_name CinematicEventHelper extends Node # Emitted when all gamepieces have finished travelling and cinematic mode can begin without diff --git a/src/field/gameboard/events/event.gd b/src/field/gameboard/events/event.gd index 3afeb9e8cd9470d7c463ee900ad1fc0d735da3b0..0c504eb0bd8d3b36d6ae8814c87ea2f564eed031 100644 --- a/src/field/gameboard/events/event.gd +++ b/src/field/gameboard/events/event.gd @@ -19,9 +19,9 @@ func _ready() -> void: func run() -> void: add_to_group(Groups.ACTIVE_EVENTS) - var cinematic_mode: CinematicModeListener = null + var cinematic_mode: CinematicEventHelper = null if is_cinematic: - cinematic_mode = CinematicModeListener.new() + cinematic_mode = CinematicEventHelper.new() add_child(cinematic_mode) finished.connect(cinematic_mode.queue_free)