Bag Affinity Info - this class keeps track of the affinity of a bag of holding for an object it might contain. We use this class in building bag affinity lists.
BagAffinityInfo : object
Superclass Tree (in declaration order)
Summary of Properties
Summary of Methods
affinity of the bag for the object
the bag that wants to contain the object
the object the bag wants to contain
Compare this item to another item, for affinity ranking purposes. Returns positive if I should rank higher than the other item, zero if we have equal ranking, negative if I rank lower than the other item.
given a vector of affinities, remove the most recent item (as indicated by holdingIndex) and return the BagAffinityInfo object
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3