mirror of
https://github.com/Kiritow/MiniEngine.git
synced 2024-03-22 13:11:22 +08:00
15 lines
250 B
C++
15 lines
250 B
C++
#pragma once
|
|
#include "include.h"
|
|
#include "Rect.h"
|
|
#include "begin_code.h"
|
|
class Point
|
|
{
|
|
public:
|
|
int x, y;
|
|
Point(int X, int Y);
|
|
Point();
|
|
SDL_Point toSDLPoint() const;
|
|
bool inRect(const Rect& rect) const;
|
|
};
|
|
#include "end_code.h"
|