This commit is contained in:
Imbus 2024-04-11 23:11:56 +02:00
commit e5a11eabb1

14
src/point.cpp Normal file
View file

@ -0,0 +1,14 @@
class Point {
int x, y;
Point(int x, int y) {
this->x = x;
this->y = y;
}
void move(int dx, int dy) {
this->x += dx;
this->y += dy;
}
};