8 #ifndef LEGACYGRAPHICAL_HPP_
9 #define LEGACYGRAPHICAL_HPP_
14 #include "GraphicalLib.hpp"
15 #include "KapEngineDebug.hpp"
23 class GraphicalLibManager;
36 void display()
override;
38 void startDisplay()
override {
39 PROFILER_FUNC_START();
40 DEBUG_LOG(
"Use " + getName());
45 std::map<std::string, std::function<void()>> _commands;
47 void registerCommand(std::string
const& cmd, std::function<
void()>);
48 void executeCommand(std::string
const& cmd);
49 bool commandExists(std::string
const& cmd);