mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-26 02:03:48 +00:00
bd5b2b3495
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
26 lines
435 B
C++
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
|