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

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

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

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