# pragma once # include // initialize map struct Sidewalk{ double length, width; Vector2d* obstacles; // array containing the position of each obstacle int n_obstacles; // number of obstacles Sidewalk(double l, double w, int n, Vector2d* obs) : length(l), width(w), n_obstacles(n), obstacles(obs) {} };