Moving ball drawing logic to its own method