Battle System base

This commit is contained in:
2025-01-09 18:57:17 -06:00
parent 432d58ae0b
commit 9f8e3b34ea
9 changed files with 99 additions and 17 deletions

View File

@@ -0,0 +1,11 @@
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;