mud.common.items
Class Weapon

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

public class Weapon
extends Item


Constructor Summary
Weapon(int id, java.lang.String name, int atk)
           
 
Method Summary
 int getAttack()
           
 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

Weapon

public Weapon(int id,
              java.lang.String name,
              int atk)
Method Detail

getLabel

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

getAttack

public int getAttack()