#include "GameCase.h" GameCase::GameCase() : GameCase('\0', nullptr) {} GameCase::GameCase(char command, bool func(double&)) { this->command = command; this->func = func; } char GameCase::get_comm() const { return this->command; } bool GameCase::exec(double& bet) const { return this->func(bet); }