blob: 1ae1fdeef90926b4378e5b30dbdab506b932cfca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "../print.h"
#include "../Player.h"
FollowupAction Player::cmd_help(Argv argv) {
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;
}
|