Website Summary Files Commits Branches @commit @diff @stats
path: root / Week08 / Exercise01 / LaunchSite.h
blob: 13c3cb3a6d8d8caa249accc40dcbef30b90e8b05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _LAUNCH_SITE
#define _LAUNCH_SITE

class LaunchSite {
	char name[251];
	double maxWeight;
	unsigned maxHeight;

public:
	const char* GetName() const;
	void SetName(const char* name);

	double GetMaxWeight() const;
	void SetMaxWeight(double weight);

	unsigned GetMaxHeight() const;
	void SetMaxHeight(unsigned height);
};

#endif /* _LAUNCH_SITE */