33 lines
529 B
GDScript
33 lines
529 B
GDScript
class_name CutsceneEvent
|
|
const Systems = preload("res://scripts/System/Systems.gd")
|
|
|
|
var started:bool = false;
|
|
var cutscene = null;
|
|
|
|
func _init() -> void:
|
|
pass
|
|
|
|
func start() -> void:
|
|
started = true
|
|
|
|
func update(delta:float) -> void:
|
|
pass
|
|
|
|
func isDone() -> bool:
|
|
return true
|
|
|
|
func end() -> void:
|
|
pass
|
|
|
|
func reset() -> void:
|
|
started = false
|
|
|
|
func getCutscene():
|
|
return cutscene
|
|
|
|
func getCutsceneSystem():
|
|
return cutscene.cutsceneSystem;
|
|
|
|
func getSystems() -> Systems:
|
|
return getCutsceneSystem().get_node("..") as Systems;
|