using Godot; using System; using System.Collections.Generic; public partial class Player : Node { public bool _available, _selected; public Actor _teamLead; public static Player _Create() { PackedScene scene = ResourceLoader.Load("res://Gameplay/player.tscn"); Player newPlayer = scene.Instantiate(); Actor newActor = Actor._Create(); newPlayer._teamLead = newActor; newPlayer.AddChild(newActor); return newPlayer; } public override void _Process(double DELTA_) { } public void Start() { _teamLead.Start(); } }