I am writing some code to detect collision between different shapes, RectShape,CircShape,LineShape all inheriting from a base class
RectShape
CircShape
LineShape