|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is for body parts that can wear a piece of armor.
Every type of armor must go in a "slot" on a body part. Body parts can have multiple slots (e.g. a Hand can have a Glove slot and a Holding slot).
Method Summary | |
Armor |
getArmor()
Gets the armor currently in the slot. |
java.lang.Class |
getArmorType()
Returns the Armor subclass that this part can wear. |
void |
setArmor(Armor armor)
Puts the armor in the slot (nuking what was there before). |
Methods inherited from interface wyvern.kernel.combat.slots.ItemSlot |
getItem, getLayer, isEmpty, remove, setLayer |
Method Detail |
public java.lang.Class getArmorType()
public Armor getArmor()
public void setArmor(Armor armor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |