org.haphazard.character.body
Class Breast

java.lang.Object
  extended byorg.haphazard.character.body.BodyPart
      extended byorg.haphazard.character.body.Breast

public class Breast
extends BodyPart

Silly implementation of a breast


Field Summary
 
Fields inherited from class org.haphazard.character.body.BodyPart
mClothes, mSlots
 
Constructor Summary
Breast()
          Creates a new instance of Breast
Breast(java.lang.String name)
          Creates a breast with a specific name
 
Method Summary
 java.lang.String toXML(int indent)
          Transforms this object into an XML-notation
 
Methods inherited from class org.haphazard.character.body.BodyPart
addWound, canWear, getAllClothes, getArmorValue, getCritical, getLocation, getName, getPenalty, getTreeNode, getWound, heal, isHit, isPrimary, isWearing, setName, setNaturalArmor, setToHit, status, toString, undress, wear, wound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Breast

public Breast()
Creates a new instance of Breast


Breast

public Breast(java.lang.String name)
Creates a breast with a specific name

Parameters:
name - The name of the breast
Method Detail

toXML

public java.lang.String toXML(int indent)
Transforms this object into an XML-notation

Overrides:
toXML in class BodyPart
Parameters:
indent - The indentation level to use
Returns:
The object in an XML notation