A TravelBarrier can be attached to a TravelConnector, via the travelBarrier property, to form a conditional barrier to travel.
TravelBarrier : object
Superclass Tree (in declaration order)
Summary of Properties
Summary of Methods
Determine if this barrier blocks the given traveler. By default, we don't block anyone. This doesn't make us much of a barrier, so subclasses should override this with a more specific condition.
Explain why travel isn't allowed. This should generate an appropriate failure report explaining the problem. This is invoked when travel is attempted and canTravelerPass returns nil. Subclasses must override this.
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3