text: class newBase 
  {
      constructor(x, y, w, h)
      {
          let options ={
              isStatic: true
          };
  
          this.body = Bodies.rectangle(x, y, w, h, options);
          this.w = w;
          this.h = h;
          World.add(world, this.body);
      }
  
      display()
      {
          var pos = this.body.position;
          push();
          rectMode(CENTER);
          stroke("#964B00");
          fill("#964B00");
          rect(pos.x, pos.y, this.w, this.h);
          pop();
  
      }
  }