Exemplo n.º 1
0
  @Override
  public StringBuffer printEntity() {
    StringBuffer buff = new StringBuffer();
    buff.append("Tank: ").append(tank.getDisplayName()).append("\n");
    buff.append("Found in: ").append(fileString).append("\n");
    buff.append(printTechLevel());
    buff.append(printSource());
    buff.append(printShortMovement());
    if (correctWeight(buff, true, true)) {
      buff.append("Weight: ")
          .append(getWeight())
          .append(" (")
          .append(calculateWeight())
          .append(")\n");
    }

    buff.append(printWeightCalculation()).append("\n");
    printFailedEquipment(buff);
    return buff;
  }
Exemplo n.º 2
0
 @Override
 public String getName() {
   return "Tank: " + tank.getDisplayName();
 }