text: class Ground{
      constructor(x,y,width,height){
          
          var options={
              isStatic:true
          }
  
          this.body = Bodies.rectangle(x,y,width,height,options);
          this.height = height;
          this.width = width;
  
          World.add(world,this.body);
      }
  
      display(){
         var pos = this.body.position;
         push();
         fill(0);
         rectMode(CENTER); 
         rect(pos.x,pos.y,width,height);
         pop();
      }
  
  }