wyvern.kernel.combat.slots
Class AbstractSlot

java.lang.Object
  extended bywyvern.kernel.combat.slots.AbstractSlot
All Implemented Interfaces:
ItemSlot
Direct Known Subclasses:
AbstractArmorSlot, AbstractWeaponSlot

public abstract class AbstractSlot
extends java.lang.Object
implements ItemSlot

This is the highest-level concrete class in the slot heirarchy. It implements the ItemSlot layer API.

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

Field Summary
protected  int layer_
           
 
Constructor Summary
AbstractSlot()
           
 
Method Summary
 int getLayer()
          Returns the slot-layer.
 void setLayer(int layer)
          Sets the slot-layer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface wyvern.kernel.combat.slots.ItemSlot
getItem, isEmpty, remove
 

Field Detail

layer_

protected int layer_
Constructor Detail

AbstractSlot

public AbstractSlot()
Method Detail

setLayer

public void setLayer(int layer)
Sets the slot-layer. See ItemSlot documentation.

Specified by:
setLayer in interface ItemSlot

getLayer

public int getLayer()
Returns the slot-layer.

Specified by:
getLayer in interface ItemSlot