Collectiveclassobjects.t[983]

Collective - this is an object that can be used to refer to a group of other (usually equivalent) objects collectively. In most cases, this object will be a separate game object that contains or can contain the individuals: a bag of marbles can be a collective for the marbles, or a book of matches can be a collective for the matchsticks.

A collective object is usually given the same plural vocabulary as its individuals. When we use that plural vocabulary, we will filter for or against the collective, as determined by the noun phrase production, when the player uses the collective term.

This is a mix-in class, intended to be used along with other (usually Thing-derived) superclasses.

class Collective :   object

Superclass Tree   (in declaration order)

Collective
        object

Subclass Tree  

Collective
        Matchbook

Global Objects  

(none)

Summary of Properties  

(none)

Summary of Methods  

filterResolveList  isCollectiveFor 

Properties  

(none)

Methods  

filterResolveList (lst, action, whichObj, np, requiredNum)objects.t[984]

no description available

isCollectiveFor (obj)objects.t[1037]
Determine if I'm a collective object for the given object.

In order to be a collective for some objects, an object must have vocubulary for the plural name, and must return true from this method for the collected objects.

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3