class Statue extends Entity {

  protected int frames;

  protected int delay;

  /**
   * Constructor of Statue.
   *
   * @param id id of statue
   */
  public Statue(int id) {
    super(id);
    this.frames = 0;
    this.delay = 0;
  }

  /**
   * Constructor of Statue.
   *
   * @param id id of statue
   * @param delay the number of frames between two lightning
   */
  public Statue(int id, int delay) {
    super(id);
    this.frames = 0;
    this.delay = delay;
  }

  @Override
  public void update() {<FILL_FUNCTION_BODY>}

  private void shootLightning() {
    logger.info("Statue {} shoots lightning!", id);
  }
}

    if (++frames == delay) {
      shootLightning();
      frames = 0;
    }
  
<methods>public void <init>(int) ,public abstract void update() <variables>protected int id,protected final Logger logger,protected int position