ActorResolver class | resolver.t[882]

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 | `resolver.t[1048]`

no description available

`whichObject` OVERRIDDEN | `resolver.t[1047]`

we resolve target actors

Methods

`construct (issuingActor)`OVERRIDDEN | `resolver.t[883]`

no description available

`filterAmbiguousNounPhrase (lst, requiredNum, np)`OVERRIDDEN | `resolver.t[929]`

Filter an ambiguous list of objects. We will filter according to which objects are most logical as targets of commands.

`filterPluralPhrase (lst, np)`OVERRIDDEN | `resolver.t[976]`

Filter a plural list

`getAll (np)`OVERRIDDEN | `resolver.t[912]`

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 | `resolver.t[919]`

get the default object list

`getDefaultObject (np)`OVERRIDDEN | `resolver.t[987]`

get a default object

`getRawPronounAntecedent (typ)`OVERRIDDEN | `resolver.t[1004]`

Get a raw pronoun antecedent list. Since we are resolving the target actor, pronouns are relative to the issuing actor.

`resolveUnknownNounPhrase (tokList)`OVERRIDDEN | `resolver.t[994]`

resolve a noun phrase involving unknown words

TADS 3 Library Manual
Generated on 8/21/2012 from TADS version 3.1.2