move ball drawing proccess to ball_basic class