VehicleBarrierclass
A VehicleBarrier is a TravelConnector that allows actors to travel, but blocks vehicles. By default, we block all vehicles, but subclasses can customize this so that we block only specific vehicles.
class
VehicleBarrier
:
TravelBarrier
Superclass Tree (in declaration order)
VehicleBarrier
TravelBarrier
` object`
Subclass Tree
(none)
Global Objects
(none)
Summary of Properties
(none)
Summary of Methods
canTravelerPass
explainTravelBarrier
Properties
(none)
Methods
canTravelerPass (traveler)
OVERRIDDEN
Determine if the given traveler can pass through this connector. By default, we’ll return nil for a Vehicle, true for anything else. This can be overridden to allow specific vehicles to pass, or to filter on any other criteria.
explainTravelBarrier (traveler)
OVERRIDDEN
explain why we can’t pass
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3