Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Object-oriented Programming / 12-Practice-17.05.2022 / ex2 / Penguin.h
blob: 8546670a7e83964add351ade70f192fe5d94eefa (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "Prize.h"

class Penguin : public Prize {
public:
	Penguin(unsigned price, unsigned points) : Prize(price, points) {}
	void vizualize() const {
		print("viz/penguin.txt");
	}
};