Example #1
0
 /**
  * Returns the consistent-with-equals hashCode for this HitDieLock
  *
  * @see java.lang.Object#hashCode()
  */
 @Override
 public int hashCode() {
   return hitDie.hashCode();
 }
Example #2
0
 /* (non-Javadoc)
  * @see pcgen.core.facade.ClassFacade#getHD()
  */
 @Override
 public String getHD() {
   HitDie hd = getSafe(ObjectKey.LEVEL_HITDIE);
   return String.valueOf(hd.getDie());
 }
Example #3
0
 /**
  * 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());
 }