Closed aprobinson closed 9 years ago
Create a base class with pure virtual functions isPointInShape and getBoundingBox, which takes and fills an SDL_Rect object.
The Rectangle and Ellipse classes derive from the Shape base class.
Create a base class with pure virtual functions isPointInShape and getBoundingBox, which takes and fills an SDL_Rect object.