]> git.localhorst.tv Git - blank.git/blobdiff - src/standalone/DirectCLIFeedback.hpp
make command output visible to player(s)
[blank.git] / src / standalone / DirectCLIFeedback.hpp
diff --git a/src/standalone/DirectCLIFeedback.hpp b/src/standalone/DirectCLIFeedback.hpp
new file mode 100644 (file)
index 0000000..06f2038
--- /dev/null
@@ -0,0 +1,31 @@
+#ifndef BLANK_STANDALONE_DIRECTCLIFEEDBACK_HPP_
+#define BLANK_STANDALONE_DIRECTCLIFEEDBACK_HPP_
+
+#include "../shared/CLIContext.hpp"
+
+
+namespace blank {
+
+class HUD;
+
+namespace standalone {
+
+class DirectCLIFeedback
+: public CLIContext {
+
+public:
+       DirectCLIFeedback(Player &, HUD &);
+
+       void Error(const std::string &) override;
+       void Message(const std::string &) override;
+       void Broadcast(const std::string &) override;
+
+private:
+       HUD &hud;
+
+};
+
+}
+}
+
+#endif