aboutsummaryrefslogtreecommitdiff
path: root/XY.h
blob: 2aac824dc8a608acf47286cca62fa0565f0a9c25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

struct XY {
	int x = 0;
	int y = 0;

	XY operator + (const XY &) const;
	XY operator - () const;
	XY operator - (const XY &) const;
	XY& operator += (const XY &);
	XY& operator -= (const XY &);
};