TravelActionclass

actions.t[2688]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

Travel Action - this is the base class for verbs that attempt to move an actor to a new location via one of the directional connections from the current location.

Each grammar rule for this action must set the ‘dirMatch’ property to a DirectionProd match object that gives the direction.

DefineIAction(Travel)      // original source text
class TravelAction :   IAction// after macro expansion

Superclass Tree   (in declaration order)

TravelAction
IAction
Action
BasicProd
`                                 object`

Subclass Tree  

TravelAction
AftAction
DownAction
EastAction
ForeAction
InAction
predicate(In)
NorthAction
NortheastAction
NorthwestAction
OutAction
predicate(Out)
PortAction
predicate(Port)
predicate(Travel)
SouthAction
SoutheastAction
SouthwestAction
StarboardAction
predicate(Starboard)
TravelDirAction
UpAction
WestAction

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  

actionOfKind execAction getConnector getDirection

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  

(none)

Methods  

actionOfKind (cls)OVERRIDDEN

actions.t[2736]

The grammar rules for the individual directions will usually just create a base TravelAction object, rather than one of the direction-specific subclasses (NorthAction, etc). For convenience in testing the action, though, treat ourself as matching the subclass with the same direction.

execAction ( )OVERRIDDEN

actions.t[2689]

no description available

getConnector ( )

actions.t[2721]

Get my travel connector. My connector is given by the travel link property for this action as defined in the actor’s current location.

getDirection ( )

actions.t[2714]

get the direction object for the travel

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