wyvern.lib.commands.autobag
Class BagList

java.lang.Object
  extended bywyvern.lib.commands.autobag.BagList

public class BagList
extends java.lang.Object

An ordered list of bags to insert items into. When one is full, we try the next one. If we fail completely, we issue an error message.

Version:
1.0, Dec 27, 2003
Author:
Steve Yegge

Constructor Summary
BagList()
           
 
Method Summary
 void add(java.lang.String desc)
          Adds a description for a bag.
 java.util.List getBagNames()
          Returns the list of names the player specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BagList

public BagList()
Method Detail

getBagNames

public java.util.List getBagNames()
Returns the list of names the player specified.


add

public void add(java.lang.String desc)
Adds a description for a bag. I currently only support simple NameMatchPredicates for specifying bags.