8-4-25 @ 2:42 am

This commit is contained in:
2025-08-04 02:42:51 -04:00
parent 50e4f8fcb5
commit 7f65338679
15 changed files with 357 additions and 250 deletions

View File

@@ -93,17 +93,18 @@ public partial class Battle : Node
if (c > 0)
{
Vector2 position = new Vector2(table.GlobalPosition.X - (r * (diameter / 2)) + ((c - 1) * diameter), table.GlobalPosition.Y - table.Texture.GetSize().Y / 4 - (r * diameter));
if (PLAYER._id == rackBall._ownerId)
if (PLAYER == rackBall._owner)
{
PLAYER.PlaceBall(rackBall, position);
}
if (COMPUTER._id == rackBall._ownerId)
if (COMPUTER == rackBall._owner)
{
COMPUTER.PlaceBall(rackBall, position);
}
}
}
// PLAYER.PotBall();
PLAYER.SetRack();
}
}