Friday, 15 August 2025 23:08:08

This commit is contained in:
2025-08-15 23:08:10 -04:00
parent 8a2ad448fd
commit a47a6331ee
129 changed files with 515 additions and 2535 deletions

View File

@@ -6,16 +6,9 @@ using System.Linq;
public partial class Battle : Node
{
public bool _current;
public Vector2 _startPosition = new Vector2(890, 340);
public List<Sprite2D> _potted = new();
public List<Ball> _balls = new();
public Table _table;
public List<Pocket> _pockets = new();
public override void _Ready()
{
_table = GetNode<Table>("Table");
_pockets = _table.GetNode<Node2D>("Pockets").GetChildren().Select(n => (Pocket)n).ToList();
}
@@ -27,7 +20,6 @@ public partial class Battle : Node
public void Start()
{
_current = true;
Globals.Instance._currentBattle = this;
}
}