You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
596 B
29 lines
596 B
using Godot;
|
|
namespace Babushka.scripts.CSharp.Common.Fight;
|
|
|
|
public partial class FightManager : Node
|
|
{
|
|
#region AutoLoad ( Contains _EnterTree() )
|
|
|
|
public static FightManager Instance { get; private set; } = null!;
|
|
|
|
public override void _EnterTree()
|
|
{
|
|
Instance = this;
|
|
}
|
|
|
|
#endregion
|
|
|
|
[Export]
|
|
public PackedScene fightingVesnaScene;
|
|
|
|
public FightParty fightParty = new();
|
|
|
|
public void StartFight(PackedScene[] enemies, FightHappening happening)
|
|
{
|
|
GD.Print("Starting Fight");
|
|
//happening.Start(fightParty, enemies);
|
|
}
|
|
|
|
}
|