From 06b83a058915582479f97ad4b4d75ecf27cbd9d9 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Tue, 14 May 2024 00:59:44 +0200 Subject: [PATCH] Reorganize variables --- src/presenloader.gd | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/presenloader.gd b/src/presenloader.gd index ef77040..4f174c7 100644 --- a/src/presenloader.gd +++ b/src/presenloader.gd @@ -16,28 +16,23 @@ # along with this program. If not, see . extends Node -# Presencode version const version: int = 1 const version_float: float = float(version) -# CORE @onready var core: Core = get_node("/root/CORE") @onready var logger: CoreLoggerInstance = core.logger.get_instance("src/presenloader.gd", self) -# Presentation zip/dir info var path: String = "" var is_file: bool = true var manifest: Dictionary = {} + var entrypoint: Script = null var entrypoint_node: PresencodeEntrypoint = null +var communication: PresencodeCommunication = PresencodeCommunication.new(core, self) -# Access methods var reader: ZIPReader = ZIPReader.new() var diraccess: DirAccess = null -# Communication -var communication: PresencodeCommunication = PresencodeCommunication.new(core, self) - func _ready() -> void: # Register cleanup hook core.register_cleanup_hook(func() -> void: queue_free())