blob: 713c94c7508b0127812531f0a032818e67ea9c80 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "GameCase.h"
GameCase::GameCase() : GameCase('\0', nullptr)
{}
GameCase::GameCase(char command, bool func(const Player&, double&)) {
this->command = command;
this->func = func;
}
bool GameCase::exec(const Player& player, double& bet) const {
return this->func(player, bet);
}
|