1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-01 15:35:47 +00:00
Aquaria/BBGE/TileRender.h

26 lines
463 B
C++

#ifndef BBGE_TILERENDER_H
#define BBGE_TILERENDER_H
#include "RenderObject.h"
#include "Tile.h"
class Tileset;
class TileRender : public RenderObject
{
private:
const TileStorage& storage;
public:
TileRender(const TileStorage& tiles);
virtual ~TileRender();
virtual void onRender(const RenderState& rs) const OVERRIDE;
virtual void onUpdate(float dt) OVERRIDE;
bool renderBorders;
static Vector GetTagColor(int tag);
};
#endif // BBGE_TILERENDER_H