summaryrefslogtreecommitdiffstats
path: root/src/RendererEntity.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/RendererEntity.hpp')
-rw-r--r--src/RendererEntity.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/RendererEntity.hpp b/src/RendererEntity.hpp
index e2e8bf1..346f9fb 100644
--- a/src/RendererEntity.hpp
+++ b/src/RendererEntity.hpp
@@ -2,17 +2,16 @@
#include <GL/glew.h>
-class World;
class RenderState;
+class World;
class RendererEntity {
unsigned int entityId;
- World *world;
public:
- RendererEntity(World *ptr, unsigned int id);
+ RendererEntity(unsigned int id);
~RendererEntity();
- void Render(RenderState& renderState);
+ void Render(RenderState& renderState, const World *world);
static GLuint GetVao();
};