Files
Dawn-Godot/scripts/System/BattleSystem.gd
2025-05-01 19:08:20 -05:00

11 lines
284 B
GDScript

class_name BattleSystem extends Node
const Battle = preload("res://scripts/Battle/Battle.gd");
var battle:Battle = null;
func getSystems():
return get_tree().current_scene.get_node("Systems");
func startBattle(battle:Battle) -> void:
print("start battle");
self.battle = battle;