@Override
  public void update() {
    if (++frames == delay) {
      shootLightning();
      frames = 0;
    }
  }
@Test
  void testUpdateForPendingShoot() {
    statue.frames = 10;
    statue.update();
    assertEquals(11, statue.frames);
  }