7-17-25 @ 3:55am

This commit is contained in:
2025-07-17 03:55:30 -04:00
parent c5795028f0
commit 3884c07811
23 changed files with 371 additions and 103 deletions

View File

@@ -1,23 +1,28 @@
using Godot;
using System;
using System.Collections.Generic;
public partial class Player : Node
{
public bool _available, _selected;
public Actor _actor;
public Battle _currentBattle;
public override void _Ready()
{
_actor = Actor.Create("actor");
AddChild(_actor);
}
public override void _Process(double DELTA_)
{
}
public Actor _selectedActor;
public List<Actor> _actors = new();
public static Player _Create()
{
PackedScene scene = ResourceLoader.Load<PackedScene>("res://Gameplay/player.tscn");
Player newPlayer = scene.Instantiate<Player>();
Actor newActor = Actor._Create();
newPlayer._actors.Add(newActor);
newPlayer.AddChild(newActor);
return newPlayer;
}
public override void _Process(double DELTA_)
{
}
}