Singelton patch
This commit is contained in:
9
scripts/Singletons/Battle.gd
Normal file
9
scripts/Singletons/Battle.gd
Normal file
@@ -0,0 +1,9 @@
|
||||
extends Node
|
||||
|
||||
const Battle = preload("res://scripts/Battle/Battle.gd");
|
||||
|
||||
var battle:Battle = null;
|
||||
|
||||
func startBattle(battle:Battle) -> void:
|
||||
print("start battle");
|
||||
self.battle = battle;
|
Reference in New Issue
Block a user