sdl_runtime_compiler git · main
SDL3 game for running and compiling code at runtime
C++ 72.3% C 26.2%git clone https://git.christianimmanuel.de/sdl-graphics/sdl_runtime_compiler.gitwget https://git.christianimmanuel.de/sdl-graphics/sdl_runtime_compiler/archive/sdl_runtime_compiler.tar.gzsrc/systems/hint_system.hpp raw
#pragma once
#include <string>
#include "text/handler.hpp"
#include "entities/camera.hpp"
#include "utils/light.hpp"
namespace
Nimbin
{
class GlRenderer;
class HintSystem
{
Text::Handler _label;
std::string _current_hint;
public:
HintSystem ();
void clear ();
void update (double dt, const Camera& camera);
void draw (GlRenderer& gl, const Camera& camera, const Light& light) const;
void set_Hint(const std::string& hint_text);
Text::Handler&
get_Label() { return _label; }
const Text::Handler&
get_Label() const { return _label; }
};
} // namespace Nimbin