using Godot; using System; using System.Collections.Generic; using System.Linq; public partial class Battle : Node { public bool _current; public Vector2 _startPosition = new Vector2(890, 340); public List _potted = new(); public List _balls = new(); public Table _table; public List _pockets = new(); public override void _Ready() { _table = GetNode("Table"); _pockets = _table.GetNode("Pockets").GetChildren().Select(n => (Pocket)n).ToList(); } public override void _Process(double DELTA_) { } public void Start() { _current = true; Globals.Instance._currentBattle = this; } }