Open CCS Cases 2 in doctor scene

This commit is contained in:
hz
2026-08-05 18:53:00 -05:00
parent d76b2c809e
commit 31093ab80d
41 changed files with 3 additions and 1618 deletions
+1 -8
View File
@@ -1,6 +1,5 @@
extends Control
const SLOT_SCENE := preload("res://scenes/ccs_cases_2/slot_machine.tscn")
const DOCTOR_SCENE := preload("res://scenes/ccs_cases_2/doctor_office.tscn")
const DESIGN_SIZE := Vector2(1500.0, 800.0)
@@ -21,19 +20,13 @@ func _ready() -> void:
func on_show(_payload: Variant = null) -> void:
_show_slot_machine()
_show_doctor_office()
func on_hide() -> void:
_clear_active_scene()
func _show_slot_machine() -> void:
_set_active_scene(SLOT_SCENE.instantiate(), "slot_machine")
if active_scene.has_signal("continue_requested"):
active_scene.continue_requested.connect(_show_doctor_office)
func _show_doctor_office() -> void:
_set_active_scene(DOCTOR_SCENE.instantiate(), "doctor_office")