aboutsummaryrefslogtreecommitdiff
path: root/frontend/cmd/view.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-29 15:22:59 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-29 15:22:59 +0100
commit7285f9f2c2622acff734e31314f92df9b25cae16 (patch)
tree36500df9ba5cf45b20f705d4c478afd2b7903a6f /frontend/cmd/view.cpp
parent953f18fe681a2f120dab5be9e9884bf35765e21e (diff)
split commands into separate files
Diffstat (limited to 'frontend/cmd/view.cpp')
-rw-r--r--frontend/cmd/view.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/frontend/cmd/view.cpp b/frontend/cmd/view.cpp
new file mode 100644
index 0000000..8b08a2c
--- /dev/null
+++ b/frontend/cmd/view.cpp
@@ -0,0 +1,12 @@
+#include "../print.h"
+#include "../Player.h"
+
+FollowupAction Player::cmd_view(Argv argv) {
+ if (argv.size() == 0) {
+ lprtf("Fout, gebruik: Bekijk <Zelf|VIJHAND|OBJECT>\n");
+ return FollowupAction::NONE;
+ }
+
+ return FollowupAction::NONE;
+}
+