Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Object-oriented Programming / 07-Practice-05.04.2022 / GameCase.h
diff options
context:
space:
mode:
Commit30420a6ea65aa58389b9ffa0ba67130de376c079 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-04-06 10:29:54 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-04-06 10:29:54 +0300
Files12981a8607166b51b9dbbee5ab8e1d965bff509b /Year 1/Object-oriented Programming/07-Practice-05.04.2022/GameCase.h
uni-projects-30420a6ea65aa58389b9ffa0ba67130de376c079.tar
uni-projects-30420a6ea65aa58389b9ffa0ba67130de376c079.tar.gz
uni-projects-30420a6ea65aa58389b9ffa0ba67130de376c079.zip
Parent2cf8d711c3dd110555c16913941f865841aa3175 (diff)
Implemented overall functionality for yesterdays practice exercise
1 files changed, 3 insertions, 3 deletions
-rw-r--r--Year 1/Object-oriented Programming/07-Practice-05.04.2022/GameCase.h6
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;
};