1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-25 17:53:47 +00:00
Aquaria/BBGE/TileRender.h

27 lines
463 B
C
Raw Normal View History

#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