using Godot; using System; public partial class Pong : Node2D { [Signal] private delegate void GameFinished(string withError); private const int ScoreToWin = 10; private int _scoreLeft = 0; private int _scoreRight = 0; private Paddle _playerTwo; private Label _scoreLeftNode; private Label _scoreRightNode; private Label _winnerLeft; private Label _winnerRight; public override void _Ready() { // Get nodes. The generic is the class, argument is path to the node. _playerTwo = GetNode("Player2"); _scoreLeftNode = GetNode