rl.common.game.elements
Class Equipment
java.lang.Object
rl.common.game.elements.Equipment
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- EngineeringAttachment, HardPoint, Weapon
public abstract class Equipment
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
Equipment
public Equipment()
getType
public abstract Equipment.Type getType()
getName
public java.lang.String getName()
getPower
public int getPower()
getMass
public int getMass()
getCost
public long getCost()
getEquipmentUse
public Equipment.Use getEquipmentUse()
getRestriction
public Equipment.LocationRestriction getRestriction()
setValue
public void setValue(org.jdom.Element val)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object