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
fgenesis bd5b2b3495 Rework + optimize map tile storage & rendering, initial working draft.
class Element is completely gone.
(The files are still there but no longer compiled in. Will delete later)

Broken still:
- support for vertical flip
- the editor
- culling
2023-07-14 00:19:33 +02:00

26 lines
435 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;
private:
};
#endif // BBGE_TILERENDER_H