rl.common.game.elements
Class Equipment

java.lang.Object
  extended by 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

Nested Class Summary
static class Equipment.LocationRestriction
           
static class Equipment.Type
           
static class Equipment.Use
           
 
Field Summary
(package private) static long serialVersionUID
           
 
Constructor Summary
Equipment()
           
 
Method Summary
 long getCost()
           
 Equipment.Use getEquipmentUse()
           
 int getMass()
           
 java.lang.String getName()
           
 int getPower()
           
 Equipment.LocationRestriction getRestriction()
           
abstract  Equipment.Type getType()
           
 void setValue(org.jdom.Element val)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

Equipment

public Equipment()
Method Detail

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