From 30420a6ea65aa58389b9ffa0ba67130de376c079 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 6 Apr 2022 10:29:54 +0300 Subject: Implemented overall functionality for yesterdays practice exercise --- .../Object-oriented Programming/07-Practice-05.04.2022/GameCase.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Year 1/Object-oriented Programming/07-Practice-05.04.2022/GameCase.h') diff --git a/Year 1/Object-oriented Programming/07-Practice-05.04.2022/GameCase.h b/Year 1/Object-oriented Programming/07-Practice-05.04.2022/GameCase.h index bf5030f..8efd039 100644 --- a/Year 1/Object-oriented Programming/07-Practice-05.04.2022/GameCase.h +++ b/Year 1/Object-oriented Programming/07-Practice-05.04.2022/GameCase.h @@ -2,12 +2,12 @@ class GameCase { char command; - bool (*func)(const Player&, double&); + bool (*func)(double&); public: GameCase(); - GameCase(char, bool f(const Player&, double&)); + GameCase(char, bool f(double&)); char get_comm() const; - bool exec(const Player&, double&) const; + bool exec(double&) const; }; -- cgit v1.3.1-26-gb76a