Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Object-oriented Programming / 07-Practice-05.04.2022 / GameCase.h
blob: 8efd039845d06f304135d8ecb2aa336c9bc0e3e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "Player.h"

class GameCase {
	char command;
	bool (*func)(double&);

public:
	GameCase();
	GameCase(char, bool f(double&));

	char get_comm() const;
	bool exec(double&) const;
};