Initial commit

This commit is contained in:
Stillkill committed 2026-03-08 15:26:08 -05:00
commit b0e73a61aa
16345 files changed
+3104967

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
#pragma once
class Rect2i
{
private:
int xPos;
int yPos;
int width;
int height;
public:
Rect2i(int x, int y, int width, int height);
Rect2i *intersect(const Rect2i *other);
int getX() const;
int getY() const;
void setX(int x);
void setY(int y);
int getWidth() const;
int getHeight() const;
void setWidth(int width);
void setHeight(int height);
void setPosition(int x, int y);
};