This repository has been archived on 2024-09-30. You can view files and clone it, but cannot push or open issues/pull-requests.
2024-09-20 22:50:26 +03:00
|
|
|
extends PuzzleManager
|
|
|
|
|
|
|
|
@export var next_room_wall: Node2D
|
2024-09-21 23:38:05 +03:00
|
|
|
@export var box_puzzle_light: Sprite2D
|
|
|
|
@export var switch_puzzle_light: Sprite2D
|
2024-09-20 22:50:26 +03:00
|
|
|
|
|
|
|
func _on_finish_room():
|
|
|
|
next_room_wall.queue_free()
|
2024-09-21 23:38:05 +03:00
|
|
|
|
|
|
|
func _on_simple_box_puzzle_complete_puzzle():
|
|
|
|
box_puzzle_light.frame = 17
|
|
|
|
|
|
|
|
func _on_simple_switch_puzzle_complete_puzzle():
|
|
|
|
switch_puzzle_light.frame = 17
|