class Ball { public: int x = 400; int y = 225; int radius = 25; int speed_x = 3; int speed_y = 3; Ball(); ~Ball(); void Update(); void SetScreenSize(int width, int height); private: int screenWidth = 0, screenHeight = 0; void CheckCollision(); };