hell yea
This commit is contained in:
@@ -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) {}
|
||||
};
|
||||
Reference in New Issue
Block a user