22 #ifndef FIFE_CELLSELECTIONRENDERER_H
23 #define FIFE_CELLSELECTIONRENDERER_H
33 #include "view/rendererbase.h"
34 #include "model/structures/location.h"
59 std::string
getName() {
return "CellSelectionRenderer"; }
78 const std::vector<Location>
getLocations()
const {
return m_locations; }
80 void setColor(uint8_t r, uint8_t g, uint8_t b);
84 std::vector<Location> m_locations;
void deselectLocation(const Location *loc)
static CellSelectionRenderer * getInstance(IRendererContainer *cnt)
virtual ~CellSelectionRenderer()
CellSelectionRenderer(RenderBackend *renderbackend, int32_t position)
const std::vector< Location > getLocations() const
void selectLocation(const Location *loc)
void render(Camera *cam, Layer *layer, RenderList &instances)