Class DefaultIdItemEntry
- java.lang.Object
-
- org.rspeer.game.config.item.entry.impl.DefaultItemEntry
-
- org.rspeer.game.config.item.entry.impl.DefaultIdItemEntry
-
- All Implemented Interfaces:
Serializable
,Cloneable
,IdItemEntry
,ItemEntry
public class DefaultIdItemEntry extends DefaultItemEntry implements IdItemEntry
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultIdItemEntry()
DefaultIdItemEntry(String key, int[] ids, int minimumQuantity, int quantity, boolean stackable, boolean noted, RestockMeta restockMeta, boolean optional, Equipment.Slot equipmentSlot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdItemEntry
clone()
IdItemEntry
clone(RestockMeta restockMeta)
int[]
getIds()
void
setIds(int[] ids)
-
Methods inherited from class org.rspeer.game.config.item.entry.impl.DefaultItemEntry
getEquipmentSlot, getKey, getMinimumQuantity, getQuantity, getRestockMeta, getSetup, interchange, isNoted, isOptional, isStackable, setSetup
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.rspeer.game.config.item.entry.IdItemEntry
contained, getContained
-
Methods inherited from interface org.rspeer.game.config.item.entry.ItemEntry
contained, contained, contained, getContained, getEquipmentSlot, getKey, getMinimumQuantity, getQuantity, getRestockMeta, getSetup, interchange, isNoted, isOptional, isStackable, setSetup
-
-
-
-
Constructor Detail
-
DefaultIdItemEntry
public DefaultIdItemEntry()
-
DefaultIdItemEntry
public DefaultIdItemEntry(String key, int[] ids, int minimumQuantity, int quantity, boolean stackable, boolean noted, RestockMeta restockMeta, boolean optional, Equipment.Slot equipmentSlot)
-
-
Method Detail
-
getIds
public int[] getIds()
- Specified by:
getIds
in interfaceIdItemEntry
-
setIds
public void setIds(int[] ids)
-
clone
public IdItemEntry clone()
- Specified by:
clone
in interfaceItemEntry
- Overrides:
clone
in classDefaultItemEntry
-
clone
public IdItemEntry clone(RestockMeta restockMeta)
- Specified by:
clone
in interfaceItemEntry
- Overrides:
clone
in classDefaultItemEntry
-
-