Viewportclass
Viewport is a mix-in class which can be added to an object representing a window or TV screen or the like to describe the remote location viewable via the viewport. [DEFINED ON VIEWPORT EXTENSION]
class
Viewport
: object
Superclass Tree (in declaration order)
Viewport
` object`
Subclass Tree
Viewport
SwitchableViewport
Global Objects
(none)
Summary of Properties
` examineToView
isViewing
lookThroughToView
visibleRooms
`
Summary of Methods
` describeVisibleRooms
dobjFor(LookThrough)
examineStatus
setRooms
`
Properties
examineToView
Flag: should examining this object display a description of the visible rooms and their contents? By default it should. [VIEWPORT EXTENSION]
isViewing
Is the Viewport currently available for viewing through (it may not be if windows cover the curtain, or the CCTV screen has been turned off). [VIEWPORT EXTENSION]
lookThroughToView
Flag: can I see into the visibleRooms by looking through this object? This should normally be true for a window-type object but probably nil for a CCTV monitor. {VIEWPORT EXTENSION]
visibleRooms
A list of rooms that are made visible by looking through or at this viewport. [VIEWPORT EXTENSION]
Methods
describeVisibleRooms ( )
Method to display a description of the rooms and contents visible by means of me. [VIEWPORT EXTENSION]
dobjFor(LookThrough)
For the VIEWPORT EXTENSION add desribing rooms visible through this viewport to the inherited behaviour
examineStatus ( )
If examining this Viewport should describe what it shows, add a description of the rooms it overlooks. [VIEWPORT EXTENSION]
setRooms (lst)
Set the list of visible rooms to lst [VIEWPORT EXTENSION]
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1