示例#1
0
 public void destroy() {
   if (armor == 1) {
     armor = 0;
   } else {
     super.destroy();
   }
 }
示例#2
0
  @Override
  public void destroy() {

    if (armor > 0) {
      armor--;
    } else {
      super.destroy();
    }

    // super.destroy();
  }