7-21-25 @ 3:17 am

This commit is contained in:
2025-07-21 03:17:09 -04:00
parent ea03cc152a
commit f351f0ade9
13 changed files with 375 additions and 164 deletions

View File

@@ -5,8 +5,7 @@ using System.Collections.Generic;
public partial class Player : Node
{
public bool _available, _selected;
public Actor _selectedActor;
public List<Actor> _actors = new();
public Actor _teamLead;
public static Player _Create()
{
@@ -14,7 +13,7 @@ public partial class Player : Node
Player newPlayer = scene.Instantiate<Player>();
Actor newActor = Actor._Create();
newPlayer._actors.Add(newActor);
newPlayer._teamLead = newActor;
newPlayer.AddChild(newActor);
return newPlayer;
@@ -24,5 +23,10 @@ public partial class Player : Node
{
}
public void Start()
{
_teamLead.Start();
}
}