This commit is contained in:
Nguyen Quy Anh
2026-03-27 17:20:55 +01:00
parent 980bb5635e
commit d347534ff2
9 changed files with 450 additions and 79 deletions
+9
View File
@@ -0,0 +1,9 @@
#pragma once
#include "vector2d.hpp"
struct Board {
double length, width;
Vector2d *borders; // array containing the position of each obstacle
int n_borders; // number of obstacles
Board(double l, double w, int n, Vector2d *border) : length(l), width(w), n_borders(n), borders(border) {}
};