/** * Returns the consistent-with-equals hashCode for this HitDieLock * * @see java.lang.Object#hashCode() */ @Override public int hashCode() { return hitDie.hashCode(); }
/* (non-Javadoc) * @see pcgen.core.facade.ClassFacade#getHD() */ @Override public String getHD() { HitDie hd = getSafe(ObjectKey.LEVEL_HITDIE); return String.valueOf(hd.getDie()); }
/** * Returns a representation of this HitDieLock, suitable for storing in an LST file. * * @return A representation of this HitDieLock, suitable for storing in an LST file. */ @Override public String getLSTformat() { return Integer.toString(hitDie.getDie()); }