This commit is contained in:
Nguyen Quy Anh
2026-03-27 17:16:23 +01:00
parent e905bc4a86
commit cde82faa4d
11 changed files with 287 additions and 260 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) {}
};