ActorResolverclass
Actor Resolver. We use this to resolve the actor to whom a command is directed: the actor must be in scope for the player character.
class
ActorResolver
:
Resolver
Superclass Tree (in declaration order)
ActorResolver
Resolver
` object`
Subclass Tree
(none)
Global Objects
(none)
Summary of Properties
whichMessageObject
whichObject
Inherited from Resolver
:
action_
actor_
equivs_
isGlobalScope
isSubResolver
issuer_
scope_
Summary of Methods
construct
filterAmbiguousNounPhrase
filterPluralPhrase
getAll
getAllDefaults
getDefaultObject
getRawPronounAntecedent
resolveUnknownNounPhrase
Inherited from Resolver
:
allowAll
cacheScopeList
filterAll
filterAmbiguousEquivalents
filterPossRank
getAction
getPossessiveResolver
getPronounDefault
getQualifierResolver
getReflexiveBinding
getScopeList
getTargetActor
matchName
objInScope
resetResolver
resolvePronounAntecedent
selectIndefinite
withGlobals
Properties
whichMessageObject
OVERRIDDEN
no description available
whichObject
OVERRIDDEN
we resolve target actors
Methods
construct (issuingActor)
OVERRIDDEN
no description available
filterAmbiguousNounPhrase (lst, requiredNum, np)
OVERRIDDEN
Filter an ambiguous list of objects. We will filter according to which objects are most logical as targets of commands.
filterPluralPhrase (lst, np)
OVERRIDDEN
Filter a plural list
getAll (np)
OVERRIDDEN
Get the “all” list - this is the list of objects that we should use when the object of the command is the special word “all”. By default, we’ll return everything in scope.
getAllDefaults ( )
OVERRIDDEN
get the default object list
getDefaultObject (np)
OVERRIDDEN
get a default object
getRawPronounAntecedent (typ)
OVERRIDDEN
Get a raw pronoun antecedent list. Since we are resolving the target actor, pronouns are relative to the issuing actor.
resolveUnknownNounPhrase (tokList)
OVERRIDDEN
resolve a noun phrase involving unknown words
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3