x0 and y0 coordinates implemented inside shape class. Changing interaction class structure to hold only pointers to shapes (operation will be made by the collider component).