Viewport class | viewport.t[36]

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` | `viewport.t[96]`

Flag: should examining this object display a description of the visible rooms and their contents? By default it should. [VIEWPORT EXTENSION]

`isViewing` | `viewport.t[103]`

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` | `viewport.t[90]`

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` | `viewport.t[60]`

A list of rooms that are made visible by looking through or at this viewport. [VIEWPORT EXTENSION]

Methods

`describeVisibleRooms ( )` | `viewport.t[42]`

Method to display a description of the rooms and contents visible by means of me. [VIEWPORT EXTENSION]

`dobjFor(LookThrough)` | `viewport.t[109]`

For the VIEWPORT EXTENSION add desribing rooms visible through this viewport to the inherited behaviour

`examineStatus ( )` | `viewport.t[124]`

If examining this Viewport should describe what it shows, add a description of the rooms it overlooks. [VIEWPORT EXTENSION]

`setRooms (lst)` | `viewport.t[64]`

Set the list of visible rooms to lst [VIEWPORT EXTENSION]

Adv3Lite Library Reference Manual
Generated on 26/02/2025 from adv3Lite version 2.2