Shipboardclasstravel.t[4768]

A shipboard room. This is a simple mix-in class: it can be used along with any type of Room to indicate that this room is aboard a ship. When a room is aboard a ship, the shipboard travel directions (port, starboard, fore, aft) are allowed; these directions normally make no sense.

This is a mix-in class rather than a Room subclass to allow it to be used in conjunction with any other Room subclass. To make a room shipboard, simply declare your room like this:

mainDeck: Shipboard, Room // etc

class Shipboard :   object

Superclass Tree   (in declaration order)

Shipboard
        object

Subclass Tree  

Shipboard
        ShipboardRoom

Global Objects  

(none)

Summary of Properties  

isShipboard 

Summary of Methods  

(none)

Properties  

isShipboardtravel.t[4770]

mark the location as being aboard ship

Methods  

(none)

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