KlassischeKeplerKriege/game/renderer.hpp

26 lines
424 B
C++
Raw Normal View History

2016-09-15 15:23:02 +00:00
#pragma once
2016-09-25 21:05:27 +00:00
#include <math.h>
2016-09-15 15:23:02 +00:00
#include <epoxy/gl.h>
#include <epoxy/glx.h>
2016-09-28 01:33:01 +00:00
#include "game.hpp"
2016-09-27 15:57:41 +00:00
2016-09-25 21:05:27 +00:00
namespace endofthejedi {
/**
* Base class for the render.
*
* Implementations should render the whole scene (state) on the screen with
* opengl.
*/
class Renderer {
private:
protected:
public:
virtual void render(const game::State *state) = 0;
};
2016-09-28 05:03:29 +00:00
2016-09-25 21:05:27 +00:00
}