text: class Stone{
  	constructor(x,y,w,h)
  	{
  		var options={
  			restitution:0.8
  		}
  		this.x=x;
  		this.y=y;
  		this.w=w;
  		this.h=h;
  		this.image = loadImage("assets/stone.png")
  		this.body=Bodies.rectangle(this.x, this.y, this.w,this.h, options)
  		World.add(world, this.body);
  
  	}
  	//Updated function to display the stone images
      show() {
  		var pos = this.body.position;
  		var angle = this.body.angle;
  		push();
  		translate(pos.x, pos.y);
  		rotate(angle);
  		imageMode(CENTER);
  		image(this.image, 0, 0, this.w, this.h);
  		pop();
  	  }
  	}