mirror of
https://github.com/izzy2lost/vba10.git
synced 2026-03-26 18:15:30 -07:00
23 lines
442 B
C++
23 lines
442 B
C++
#ifndef POINT_H_
|
|
#define POINT_H_
|
|
|
|
namespace Engine
|
|
{
|
|
struct Point
|
|
{
|
|
int X, Y;
|
|
|
|
Point(void);
|
|
Point(int x, int y);
|
|
~Point(void);
|
|
|
|
bool operator<(const Point &other) const;
|
|
bool operator<=(const Point &other) const;
|
|
bool operator>(const Point &other) const;
|
|
bool operator>=(const Point &other) const;
|
|
bool operator==(const Point &other) const;
|
|
bool operator!=(const Point &other) const;
|
|
};
|
|
}
|
|
|
|
#endif |