
import java.awt.*;

public class RectangleDisplay implements ObjectDisplay {


  public void display(int x, int y, Graphics g) {
    g.setColor(Color.green);
    g.fillRect(x-width, y-height, width, height);
  }

  private int width = 20;
  private int height = 20;
}

