TIActionclassaction.t[2041], english.t[5516]

A TIAction is an action that applies to both a direct object and an indirect object. Since it inherits from TAction we only need to define the additional methods and properties relating to the handling of indirect objects.

Modified in english.t[5516]:
return the complete phrase string

class TIAction :   TAction

Superclass Tree   (in declaration order)

TIAction
        TAction
                Action
                        ReplaceRedirector
                                Redirector
                                        object

Subclass Tree  

(none)

Global Objects  

AttachTo  AttackWith  BurnWith  CleanWith  CutWith  DetachFrom  DigWith  DoNothing  FastenTo  GiveTo  LockWith  MoveTo  MoveWith  PlugInto  PourInto  PourOnto  PushTravelClimbDown  PushTravelClimbUp  PushTravelEnter  PushTravelGetOutOf  PushTravelThrough  PutBehind  PutIn  PutOn  PutUnder  ScrewWith  ShowTo  TakeFrom  ThrowAt  ThrowTo  TurnWith  UnfastenFrom  UnlockWith  UnplugFrom  UnscrewWith 

Summary of Properties  

actionIobjProp  checkIobjProp  curIobj  ioActionList  preCondIobjProp  resolveIobjFirst  verIobjProp 

Inherited from TAction :
actionList  announceMultiAction  announceMultiCheck  announceMultiVerify  aqinfo  curDobj  curObj  dqinfo  iqinfo  lastVerifyMsg  reportList  verifyTab 

Inherited from Action :
actionFailed  againRepeatsParse  allowAll  extraMessageParams  failCheckMsg  includeInUndo  isImplicit  isRepeatable  oldRoom  parentAction  parentAllowAll  preCond  redirectParent  reportImplicitActions  scopeList  spellingPriority  synthParamID  turnsTaken  unhides  verifyObj  wasIlluminated 

Summary of Methods  

checkAction  doActionOnce  execAction  execResolvedAction  getMessageParam  getVerbPhrase  getVerbPhrase2  reportAction  reset  resolvedObjectsInScope  setResolvedObjects 

Inherited from TAction :
addVerifyResult  check  checkPreCond  doAction  execCycle  getAll  getVerbPhrase1  makeScopeUniversal 

Inherited from Action :
acknowledgeNotifyStatus  addExtraScopeItems  addImplicitTime  advanceTime  afterAction  announceObject  beforeAction  buildImplicitActionAnnouncement  buildScopeList  checkActionPreconditions  commandNotPresent  exec  execGroup  getAllUnhidden  implicitAnnouncement  scoreObjects  setMessageParam  setMessageParams  spPrefix  spSuffix  synthMessageParam  turnSequence  verify  verifyObjRole  wrapObjectsNP 

Inherited from ReplaceRedirector :
redirect 

Inherited from Redirector :
doInstead  doNested  doOtherAction 

Properties  

actionIobjPropaction.t[2050]

no description available

checkIobjPropaction.t[2049]
no description available

curIobjaction.t[2044]
The current indirect object of this action.

ioActionListaction.t[2057]
A list of the indirect objects that this actually actually ends up acting on at the action stage.

preCondIobjPropaction.t[2051]
no description available

resolveIobjFirstaction.t[2063]
Flag: should we resolve the indirect object of this action before the direct object?

verIobjPropaction.t[2048]
The various methods to call on the indirect object of this action.

Methods  

checkAction (cmd)OVERRIDDENaction.t[2096]

Carry out the check phase for this command.

doActionOnce ( )OVERRIDDENaction.t[2254]
Execute the action phase of the action on both objects. Note that although some TIActions can operate on multiple direct objects, none defined in the library acts on multiple indirect objects, so there's only minimal support for the latter possibility.

execAction (cmd)OVERRIDDENaction.t[2074]
execute this action.

execResolvedAction ( )OVERRIDDENaction.t[2181]
Execute this action as a resolved action, that is once its direct and indirect objects are known.

getMessageParam (objName)OVERRIDDENaction.t[2162]
Get the message parameters relating to this action

getVerbPhrase (inf, ctx)OVERRIDDENenglish.t[5518]
get the verb phrase in infinitive or participle form

getVerbPhrase2 (inf, vp, dobjText, dobjIsPronoun, iobjText)english.t[5551]
Get the verb phrase for a two-object (dobj + iobj) phrasing. This is a class method, so that it can be reused by unrelated (i.e., non-TIAction) classes that also use two-object syntax but with other internal structures. This is the two-object equivalent of TAction.getVerbPhrase1().

reportAction ( )OVERRIDDENaction.t[2145]
Carry out the report phase for this action. If there's anything in the ioActionList and we're not an implicit action, call the report method on the indirect object. Then carry out the inherited handling (which does the same on the direct object). Note that this method is called by the current Command object once its finished iterating over all the objects involved in the command.

reset ( )OVERRIDDENaction.t[2066]
Reset the action variables to their initial state.

resolvedObjectsInScope ( )OVERRIDDENaction.t[2129]
Test whether both the direct and the indirect objects for this action are in scope.

setResolvedObjects (dobj, iobj)OVERRIDDENaction.t[2119]
Set the resolved objects for this action.

Adv3Lite Library Reference Manual
Generated on 28/03/2016 from adv3Lite version 1.5