mud.common.items
Class Armor

java.lang.Object
  extended by mud.common.room.IdObject
      extended by mud.common.items.Item
          extended by mud.common.items.Armor

public class Armor
extends Item


Constructor Summary
Armor(int id, java.lang.String name, int def)
           
 
Method Summary
 int getDefense()
           
 java.lang.String getLabel()
           
 
Methods inherited from class mud.common.items.Item
getName, toXml
 
Methods inherited from class mud.common.room.IdObject
getId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Armor

public Armor(int id,
             java.lang.String name,
             int def)
Method Detail

getLabel

public java.lang.String getLabel()
Overrides:
getLabel in class Item

getDefense

public int getDefense()