1 #ifndef CORE_DEBUG_DEBUGBANNER_HPP
2 #define CORE_DEBUG_DEBUGBANNER_HPP
4 #include <BLIB/Engine/System.hpp>
5 #include <BLIB/Graphics.hpp>
18 class DebugBanner :
public bl::engine::System {
31 static void display(
const std::string& message,
float timeout = 2.f);
34 bl::engine::Engine* engine;
40 virtual void init(bl::engine::Engine& engine)
override;
41 virtual void update(std::mutex& stageMutex,
float dt,
float realDt,
float residual,
42 float realResidual)
override;
44 static DebugBanner* banner;
Core classes and functionality for both the editor and game.