TravelConnectorLink class | travel.t[3072]

The base class for Enterables and Exitables. These are physical objects associated with travel connectors. For example, the object representing the exterior of a building in the location containing the building could be an Enterable, so that typing ENTER BUILDING takes us into the building via the travel connector that leads inside.

Enterables and Exitables are physical covers for travel connectors. These objects aren't travel connectors themselves, and they don't specify the destination; instead, these just point to travel connectors.

`class TravelConnectorLink : object`

Superclass Tree (in declaration order)

`TravelConnectorLink`
`object`

Subclass Tree

`TravelConnectorLink`
`Enterable`
`EntryPortal`
`Exitable`
`ExitPortal`

Global Objects

(none)

Summary of Properties

`connector sightSize`

Summary of Methods

`dobjFor(TravelVia)`

Properties

`connector` | `travel.t[3074]`

the underlying travel connector

`sightSize` | `travel.t[3102]`

These objects are generally things like buildings (exterior or interior), which tend to be large enough that their details can be seen at a distance.

Methods

`dobjFor(TravelVia)` | `travel.t[3084]`

The internal "TravelVia" action just maps to travel via the underlying connector. However, we want to apply our own preconditions, so we don't directly remap to the underlying connector. Instead, we provide our own full TravelVia implementation, and then we perform the travel on the underlying connector via a replacement action in our own action() handler.

TADS 3 Library Manual
Generated on 8/21/2012 from TADS version 3.1.2