Creditsobject | actions.t[100] |
Superclass Tree | Property Summary | Method Summary | Property Details | Method Details |
Note that we *could* do the VM reset (via restartGame()) here, but there's an advantage to doing it in the main loop: we won't be in the stack context of whatever command we're performing. If we did the restart here, it's possible that some useless objects would survive the VM reset just because they're referenced from within a caller's stack frame. Those objects would immediately go out of scope when we get back to the main loop, but they might survive long enough to create apparent inconsistencies. In particular, if we did a firstObj/nextObj loop, we could discover those objects and re-establish more lasting references to them, which we certainly don't want to do. By deferring the VM reset until we get back to the main loop, we'll ensure that objects won't survive the reset just because they're on the stack momentarily here.
Credits : SystemAction
Credits
SystemAction
IAction
Action
ReplaceRedirector
Redirector
object
Inherited from SystemAction
:
includeInUndo
isRepeatable
timeTaken
turnsTaken
Inherited from IAction
:
againRepeatsParse
Inherited from Action
:
actionFailed
advanceOnFailure
allowAll
extraMessageParams
failCheckMsg
failedActionCountsAsTurn
implicitTimeTaken
isConversational
isImplicit
oldRoom
parentAction
parentAllowAll
preCond
redirectParent
reportImplicitActions
scopeList
spellingPriority
synthParamID
unhides
verifyObj
wasIlluminated
Inherited from SystemAction
:
afterAction
exec
execCycle
getInputFile
turnSequence
Inherited from IAction
:
execResolvedAction
resolvedObjectsInScope
scoreObjects
setResolvedObjects
Inherited from Action
:
acknowledgeNotifyStatus
addExtraScopeItems
addImplicitTime
advanceTime
announceObject
beforeAction
buildImplicitActionAnnouncement
buildScopeList
checkAction
checkActionPreconditions
commandNotPresent
execGroup
getAll
getAllUnhidden
getMessageParam
implicitAnnouncement
reportAction
setMessageParam
setMessageParams
spPrefix
spSuffix
synthMessageParam
verify
verifyObjRole
wrapObjectsNP
Inherited from ReplaceRedirector
:
redirect
Inherited from Redirector
:
doInstead
doNested
doOtherAction
execAction (cmd) OVERRIDDEN | actions.t[103] |