33 virtual void draw(SDL_Renderer *
const renderTarget, SDL_Rect *
const renderTargetRect) = 0;
38 #endif // DRAWABLE_HPP
virtual void draw(SDL_Renderer *const renderTarget, SDL_Rect *const renderTargetRect)=0
Draw the drawable entity to a render target.
Interface for creating drawable entities. Part of the Decorator pattern for drawable objects used in ...
Definition: Drawable.hpp:15
Drawable()
Drawable constructor. Call explicitly in inherited classes.