aboutsummaryrefslogtreecommitdiff
path: root/frontend/cmd/cheat.cpp
blob: ac392d6e836a48381350610eb745c4e559f6a3da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "backend/print.h"

#include "../GameController.h"

using namespace std;

FollowupAction GameController::cmd_cheat(string &) {
	this->player.cheating = !this->player.cheating;
	lprtf("Cheats staan nu %s.\n", this->player.cheating ? "aan" : "uit");
	return FollowupAction::NONE;
}