This repository has been archived on 2024-09-30. You can view files and clone it, but cannot push or open issues/pull-requests.
gbjam12/puzzles/room_manager/prison_manager.gd

15 lines
352 B
GDScript
Raw Normal View History

extends PuzzleManager
@export var next_room_wall: Node2D
@export var box_puzzle_light: Sprite2D
@export var switch_puzzle_light: Sprite2D
func _on_finish_room():
next_room_wall.queue_free()
func _on_simple_box_puzzle_complete_puzzle():
box_puzzle_light.frame = 17
func _on_simple_switch_puzzle_complete_puzzle():
switch_puzzle_light.frame = 17