Set split collision code into the different gameobjects, instead of all collsion in the class ball