#include "backend/print.h" #include "../GameController.h" using namespace std; FollowupAction GameController::cmd_help(string &) { lprtf("De beschikbare commando's zijn: "); bool first = true; for (auto & [ key, _ ] : this->cmds) { if (!first) lprtf(", "); lprtf("%s", key.c_str()); first = false; } lprtf(".\n"); return FollowupAction::NONE; }