public void takeDamage(int damage) {
    int damageTaken = damage;
    // Why do I do all of this? to simulate double or float arithmetic
    if (hasArmor()) {
      if (armor.isBroken()) {
        damageTaken = damageTaken * 10;
        damageTaken = damageTaken / armor.getArmorClass();
        if (damageTaken < 10) {
          damageTaken = 1;
        } else {
          damageTaken = damageTaken / 10;
        }
      }
      statsDisplay.setArmorDurability(armor.getDurability());
      statsDisplay.setArmor(armor.getName());
    }
    if (damageTaken > 0) {
      health -= damageTaken;
      statsDisplay.setHealthPoints(health);
    }
    if (health <= 0) {
      panel.scoreScreen(gold, killCount, levelInDungeon, playerLevel, xp);
    }
  }