DefaultObjectAnnouncementclass | report.t[397] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
In English, this type of announcement conventionally consists of simply the name of the assumed object, in parenthesis and on a line by itself. In cases where the object role involves a prepositional phrase in the verb structure, we generally show the preposition before the object name. This format usually reads intuitively, by combining with the text just above of the player's own command:
>open
(the door>
You try opening the door, but it seems to be locked. *.
>unlock the door (with the key)
class
DefaultObjectAnnouncement : CommandAnnouncement
DefaultObjectAnnouncement
CommandAnnouncement
CommandReport
object
Inherited from CommandAnnouncement
:
messageProp_
messageText_
Inherited from CommandReport
:
action_
isFailure
isQuestion
iter_
Inherited from CommandAnnouncement
:
showMessage
Inherited from CommandReport
:
getAction
isActionImplicit
isActionNestedIn
isPartOf
setAction
allResolved_ | report.t[426] |
obj_ | report.t[422] |
whichObj_ | report.t[425] |
construct (obj, whichObj, action, allResolved) OVERRIDDEN | report.t[398] |
getMessageText ( ) OVERRIDDEN | report.t[415] |