thing.tfile | source file |
Classes Summary | Objects Summary | Functions Summary Details |
TADS 3 Library - Thing
This module defines Thing, the base class for physical objects in the simulation. We also define some utility classes that Thing uses internally.
BagAffinityInfo
CanTouchInfo
CheckStatus
CheckStatusFailure
DropType
DropTypeThrow
EquivalentStateInfo
SenseInfo
SightTouchInfo
Thing
ThingState
VocabObject
checkStatusSuccess
dropTypeDrop
senseTmp
findBestFacet
senseInfoTableSubset
findBestFacet (actor, lst) | thing.t[986] |
senseInfoTableSubset (senseTab, func) | thing.t[124] |
'func' is a function that takes two arguments, func(obj, info), where 'obj' is a simulation object and 'info' is the corresponding SenseInfo object. This function is invoked for each object in the sense info table; if 'func' returns true, then 'obj' is part of the list that we return.
The return value is a simple vector of game objects. (Note that SenseInfo objects are not returned - just the simulation objects.)