let gameObjects = [];
function GameObject(x, y, w, h, c)
{
this.position = new Vector2(x, y);
this.size = new Vector2(w, h);
this.color = c;
}
function Vector2(x, y)
this.x = x;
this.y = y;
function setup() {
createCanvas(400, 400);