22 #ifndef FIFE_GRIDRENDERER_H 23 #define FIFE_GRIDRENDERER_H 55 std::string
getName() {
return "GridRenderer"; }
56 void setColor(Uint8 r, Uint8 g, Uint8 b);
Abstract interface for all the renderbackends.
std::vector< RenderItem * > RenderList
Interface to class owning the renderers Used to get correct subclass of renderer in scripting side (v...
virtual ~GridRenderer()
Destructor.
Camera describes properties of a view port shown in the main screen Main screen can have multiple cam...
Base class for all view renderers View renderer renders one aspect of the view shown on screen...
static GridRenderer * getInstance(IRendererContainer *cnt)
GridRenderer(RenderBackend *renderbackend, int32_t position)
constructor.
void render(Camera *cam, Layer *layer, RenderList &instances)
This method is called by the view to ask renderer to draw its rendering aspect based on given paramet...
void setColor(Uint8 r, Uint8 g, Uint8 b)
std::string getName()
Name of the renderer.
RendererBase * clone()
Makes copy of this renderer.