blob: 839e19f55d17c43940799ddf241a0f8d29fb3ba6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#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 &);
bool operator == (const XY& other) const;
bool operator != (const XY& other) const;
};
|