Modul de.rpgframework.rules
Package de.rpgframework.genericrpg.items
Klasse AAvailableSlot<H extends Hook,T extends PieceOfGear>
java.lang.Object
de.rpgframework.genericrpg.modification.ModifyableImpl
de.rpgframework.genericrpg.items.AAvailableSlot<H,T>
- Alle implementierten Schnittstellen:
Modifyable
-
Feldübersicht
FelderVon Klasse geerbte Felder de.rpgframework.genericrpg.modification.ModifyableImpl
incomingModifications, outgoingModifications -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddEmbeddedItem(CarriedItem accessory) voidclear()List<CarriedItem<T>> floatabstract floatabstract HgetHook()Where is the slot attachedabstract floatbooleanremoveEmbeddedItem(CarriedItem accessory) voidsetCapacity(float value) toString()Von Klasse geerbte Methoden de.rpgframework.genericrpg.modification.ModifyableImpl
addIncomingModification, addModifications, addOutgoingModification, clearIncomingModifications, clearOutgoingModifications, getIncomingModifications, getOutgoingModifications, removeIncomingModification, removeIncomingModificationForSource, removeIncomingModifications, setIncomingModifications
-
Felddetails
-
capacity
@Attribute protected float capacity -
embedded
-
-
Konstruktordetails
-
AAvailableSlot
protected AAvailableSlot() -
AAvailableSlot
public AAvailableSlot(float capacity)
-
-
Methodendetails
-
getAllEmbeddedItems
-
toString
-
addEmbeddedItem
- Parameter:
accessory- the accessory to set
-
removeEmbeddedItem
-
getHook
Where is the slot attached- Gibt zurück:
- the slot
-
getCapacity
public float getCapacity() -
setCapacity
public void setCapacity(float value) -
getUsedCapacity
public abstract float getUsedCapacity() -
getFreeCapacity
public abstract float getFreeCapacity() -
clear
public void clear()
-