10 lines
304 B
C++
10 lines
304 B
C++
#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) {}
|
|
};
|