text: class Iron {
    constructor(x, y, width, height) {
      var options = {
          'restitution':0.5,
          'friction':10,
          'density':30
      }
      this.body = Bodies.rectangle(x, y, width, height, options);
      this.width = width;
      this.height = height;
      
      World.add(world, this.body);
    }
    display(){
      var pos = this.body.position;
      var angle = this.body.angle;
      push();
      translate(pos.x, pos.y);
      rotate(angle);
      rectMode(CENTER);
      strokeWeight(5);
      stroke("red")
      fill("green");
      rect(0, 0, this.width, this.height);
      pop();
    }
  };