wyvern.kernel.combat.slots
Class HoldingSlot

java.lang.Object
  extended bywyvern.kernel.combat.slots.AbstractSlot
      extended bywyvern.kernel.combat.slots.AbstractArmorSlot
          extended bywyvern.kernel.combat.slots.AbstractArmorWeaponSlot
              extended bywyvern.kernel.combat.slots.HoldingSlot
All Implemented Interfaces:
ArmorSlot, ItemSlot, WeaponSlot

public class HoldingSlot
extends AbstractArmorWeaponSlot

This is a special slot indicating that the body part can grasp something, such as a sword or shield.

Version:
1.0, Jun 11, 1998
Author:
Steve Yegge

Field Summary
 
Fields inherited from class wyvern.kernel.combat.slots.AbstractArmorWeaponSlot
either_, type_
 
Fields inherited from class wyvern.kernel.combat.slots.AbstractArmorSlot
armor_
 
Fields inherited from class wyvern.kernel.combat.slots.AbstractSlot
layer_
 
Constructor Summary
HoldingSlot()
           
 
Method Summary
protected  java.lang.Class getDefaultArmorType()
          Returns the type of armor we can hold.
 java.lang.String toString()
          Returns debugging name.
 
Methods inherited from class wyvern.kernel.combat.slots.AbstractArmorWeaponSlot
checkType, getArmor, getArmorType, getItem, getWeapon, isEmpty, remove, setArmor, setItem, setWeapon
 
Methods inherited from class wyvern.kernel.combat.slots.AbstractSlot
getLayer, setLayer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface wyvern.kernel.combat.slots.ItemSlot
getLayer, setLayer
 

Constructor Detail

HoldingSlot

public HoldingSlot()
Method Detail

getDefaultArmorType

protected java.lang.Class getDefaultArmorType()
Returns the type of armor we can hold.

Specified by:
getDefaultArmorType in class AbstractArmorWeaponSlot

toString

public java.lang.String toString()
Returns debugging name.

Overrides:
toString in class AbstractArmorWeaponSlot
Returns:
a debugging string