TravelMessageHandler class | travel.t[210]

Travel Message Handler. This contains a set of messages that are specific to different types of TravelConnector objects, to describe NPC arrivals and departures via these connectors when the NPC's are in view of the player character.

This base class implements the methods simply by calling the corresponding gLibMessages message methods.

The purpose of providing this variety of connector-specific handlers is to make it easy for individual travelers to customize the arrival/departure messages for specific connector subclasses. These messages sometimes benefit from customization for specific traveler/connector combinations; the easiest way to enable such granular customization is to make it possible to override a message per connector type on the traveler object.

`class TravelMessageHandler : object`

Superclass Tree (in declaration order)

`TravelMessageHandler`
`object`

Subclass Tree

`TravelMessageHandler`
`ActorState`
`AccompanyingInTravelState`
`GuidedInTravelState`
`AccompanyingState`
`GuidedTourState`
`ConversationReadyState`
`HermitActorState`
`InConversationState`
`Traveler`
`Actor`
`UntakeableActor`
`Person`
`Vehicle`

Global Objects

(none)

Summary of Properties

``

(none)

Summary of Methods

`getNominalTraveler sayArriving sayArrivingDir sayArrivingDownStairs sayArrivingLocally sayArrivingThroughPassage sayArrivingUpStairs sayArrivingViaPath sayDeparting sayDepartingDir sayDepartingDownStairs sayDepartingLocally sayDepartingThroughPassage sayDepartingUpStairs sayDepartingViaPath sayTravelingRemotely`

Properties

(none)

Methods

`getNominalTraveler ( )` | `travel.t[216]`

Get the traveler for the purposes of arrival/departure messages. Implementations that aren't themselves the travelers should override this to supply the correct nominal traveler.

`sayArriving (conn)` | `travel.t[219]`

generic arrival/departure - for the base TravelConnector class

`sayArrivingDir (dir, conn)` | `travel.t[233]`

directional arrival/departure - for RoomConnector

`sayArrivingDownStairs (conn)` | `travel.t[255]`

no description available

`sayArrivingLocally (dest, conn)` | `travel.t[223]`

generic local arrival and departure messages

`sayArrivingThroughPassage (conn)` | `travel.t[237]`

arrival/departure via a ThroughPassage

`sayArrivingUpStairs (conn)` | `travel.t[253]`

arrival/departure up/down stairs

`sayArrivingViaPath (conn)` | `travel.t[247]`

arrival/departure via a PathPassage

`sayDeparting (conn)` | `travel.t[220]`

no description available

`sayDepartingDir (dir, conn)` | `travel.t[234]`

no description available

`sayDepartingDownStairs (conn)` | `travel.t[259]`

no description available

`sayDepartingLocally (dest, conn)` | `travel.t[225]`

no description available

`sayDepartingThroughPassage (conn)` | `travel.t[241]`

no description available

`sayDepartingUpStairs (conn)` | `travel.t[257]`

no description available

`sayDepartingViaPath (conn)` | `travel.t[249]`

no description available

`sayTravelingRemotely (dest, conn)` | `travel.t[229]`

generic remote travel message

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3