diff options
Fixed folder naming from yesterdays oop practice
1 files changed, 0 insertions, 13 deletions
| -rw-r--r-- | Year 1/Object-oriented Programming/06-Practice-05.04.2022/GameCase.cpp | 13 |
diff --git a/Year 1/Object-oriented Programming/06-Practice-05.04.2022/GameCase.cpp b/Year 1/Object-oriented Programming/06-Practice-05.04.2022/GameCase.cpp deleted file mode 100644 index 713c94c..0000000 --- a/Year 1/Object-oriented Programming/06-Practice-05.04.2022/GameCase.cpp +++ /dev/null @@ -1,13 +0,0 @@ -#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); -} |
