using Godot; using System; using System.Data; public partial class CueBall : Ball { new public static CueBall _Create() { PackedScene scene = ResourceLoader.Load("res://Gameplay/cue_ball.tscn"); CueBall newBall = scene.Instantiate(); newBall._isCue = true; newBall.GetNode("Image").Texture = GD.Load("res://art/cue_ball.png"); return newBall; } }