16 lines
394 B
GDScript3
16 lines
394 B
GDScript3
class_name LevelTransition
|
|
extends Interactable
|
|
|
|
|
|
# Declare member variables here. Examples:
|
|
# var a = 2
|
|
# var b = "text"
|
|
|
|
|
|
|
|
func trigger_interaction():
|
|
# This is something that should maybe be extended for every differant interactible.
|
|
# They could inherit from this base class and implement this function.
|
|
print("Okay, I'll transition the level now!")
|
|
LevelInfo.change_level("CloneBox")
|