|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is shared by body-parts that can hold a weapon.
Method Summary | |
Weapon |
getWeapon()
Returns the Weapon that this part is holding. |
void |
setWeapon(Weapon weapon)
Puts a Weapon in this slot. |
Methods inherited from interface wyvern.kernel.combat.slots.ItemSlot |
getItem, getLayer, isEmpty, remove, setLayer |
Method Detail |
public Weapon getWeapon()
public void setWeapon(Weapon weapon)
weapon
- the Weapon to place in the slot
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |