mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-25 17:53:47 +00:00
24 lines
425 B
C++
24 lines
425 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;
|
|
};
|
|
|
|
|
|
#endif // BBGE_TILERENDER_H
|