TravelDirActionclass
This class makes it convenient to synthesize a TravelAction given a Direction object. To create a travel action for a direction, use
new TravelDirAction(direction)
where ‘direction’ is the direction object (northDirection, etc) for the desired direction of travel. Note that if you want to use the resulting object in replaceAction() or one of the similar macros, you’ll need to go directly to the underlying function rather than using the standard macro, since the macros expect a literal action name rather than an object. For example:
_replaceAction(gActor, new TravelDirAction(getDirection));
DefineAction(TravelDir, TravelAction)
// original source text
class
TravelDirAction
:
TravelAction
// after macro expansion
Superclass Tree (in declaration order)
TravelDirAction
TravelAction
IAction
Action
BasicProd
` object`
Subclass Tree
(none)
Global Objects
(none)
Summary of Properties
Inherited from Action
:
actionTime
afterActionMainList
beforeAfterObjs
defaultForRecursion
extraMessageParams
implicitMsg
includeInUndo
isImplicit
isRepeatable
iterationCanceled
originalAction
parentAction
preCond
predicateNounPhrases
pronounOverride
remappedFrom
showDefaultReports
synthParamID
verbFlags
verifiedOkay
Inherited from BasicProd
:
firstTokenIndex
isSpecialResponseMatch
lastTokenIndex
Summary of Methods
Inherited from TravelAction
:
actionOfKind
execAction
getConnector
Inherited from IAction
:
doActionMain
resolveNouns
Inherited from Action
:
addBeforeAfterObj
afterAction
afterActionMain
announceActionObject
announceAllDefaultObjects
announceDefaultObject
beforeAction
beforeActionMain
cacheMultiObjectAnnouncements
callAfterActionMain
callCatchAllProp
callPreConditions
callVerifyPreCond
callVerifyProp
cancelIteration
checkAction
checkPreConditions
checkRemapping
combineRemappedVerifyResults
createActionFrom
createActionInstance
createTopicQualifierResolver
doAction
doActionOnce
filterAmbiguousWithVerify
filterFacets
filterPluralWithVerify
finishResolveList
getAnaphoricBinding
getCurrentObjects
getDefaultWithVerify
getEnteredVerbPhrase
getImplicitPhrase
getInfPhrase
getMatchForRole
getMessageParam
getNotifyTable
getObjectForRole
getObjPreCondDescList
getObjPreConditions
getObjResponseProd
getOriginalAction
getOrigTokenList
getOtherObjectRole
getParticiplePhrase
getPreCondDescList
getPreCondPropForRole
getPredicate
getPronounOverride
getQuestionInf
getRemappedFrom
getRemapPropForRole
getResolvedObjList
getResolveInfo
getRoleFromIndex
getSimpleSynonymRemap
getSortedVerifyResults
getVerbPhrase
getVerifyPropForRole
initTentative
isConversational
isNestedIn
isPartOf
isRemapped
makeResolveInfo
makeResolveInfoList
maybeAnnounceDefaultObject
maybeAnnounceImplicit
maybeAnnounceMultiObject
noMatch
notifyBeforeAfter
objListPronoun
preAnnounceActionObject
recalcSenseContext
repeatAction
resetAction
resolveAction
resolvedObjectsInScope
runBeforeNotifiers
saveActionForAgain
setCurrentObjects
setImplicit
setMessageParam
setMessageParams
setNested
setObjectMatches
setOriginalAction
setPronounOverride
setRemapped
setResolvedObjects
spPrefix
spSuffix
synthMessageParam
verifyAction
verifyHandlersExist
whatObj
whatTranslate
withVerifyResults
zeroActionTime
Inherited from BasicProd
:
canResolveTo
getOrigText
setOrigTokenList
Properties
dir_
my direction, normally specified during construction
Methods
construct (dir)
no description available
getDirection ( )
OVERRIDDEN
get my direction
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3