OpenMiner/include/hud/DebugOverlay.hpp
2018-07-06 14:24:49 +02:00

37 lines
757 B
C++

/*
* =====================================================================================
*
* Filename: DebugOverlay.hpp
*
* Description:
*
* Created: 06/07/2018 13:54:09
*
* Author: Quentin Bazin, <quent42340@gmail.com>
*
* =====================================================================================
*/
#ifndef DEBUGOVERLAY_HPP_
#define DEBUGOVERLAY_HPP_
#include "Text.hpp"
class Camera;
class DebugOverlay : public Transformable, public IDrawable {
public:
DebugOverlay(const Camera &camera);
void update();
private:
void draw(RenderTarget &target, RenderStates states) const override;
const Camera &m_camera;
Text m_versionText;
Text m_positionText;
};
#endif // DEBUGOVERLAY_HPP_