Redirectorclass
A Redirector is an object that can redirect one action to another via a doInstead wrapper method that provides a common interface. Subclasses are responsible for implementing the redirect method.
We begin this module by defing the Redirector class since in adv3Lite (though not in Mercury) Redirector is the base class for Doer.
class
Redirector
: object
Superclass Tree (in declaration order)
Redirector
` object`
Subclass Tree
Redirector
Doer
ReplaceRedirector
Action
IAction
LiteralAction
MiscConvAction
NumericAction
SystemAction
FileOpAction
TopicAction
ImplicitConversationAction
TAction
LiteralTAction
NumericTAction
TIAction
TIAAction
TopicTAction
TravelAction
ActorTopicEntry
AltTopic
AskAboutForTopic
AskForTopic
AskTellGiveShowTopic
AskTellShowTopic
AskTellTopic
AskTopic
CommandTopic
DefaultTopic
DefaultAnyTopic
DefaultAgendaTopic
DefaultAnyNonSayTopic
DefaultAskForTopic
DefaultAskQueryTopic
DefaultAskTellTopic
DefaultAskTopic
DefaultCommandTopic
DefaultConversationTopic
DefaultNonSayTopic
DefaultGiveShowTopic
DefaultGiveTopic
DefaultQueryTopic
DefaultSayQueryTopic
DefaultSayTellTalkTopic
DefaultSayTellTopic
DefaultSayTopic
DefaultShowTopic
DefaultTalkTopic
DefaultTellTalkTopic
DefaultTellTopic
GiveShowTopic
GiveTopic
InitiateTopic
NodeContinuationTopic
NodeEndCheck
MiscTopic
GreetingTopic
ActorByeTopic
BoredByeTopic
ByeTopic
HelloGoodbyeTopic
HelloTopic
ActorHelloTopic
ImpHelloTopic
ImpByeTopic
LeaveByeTopic
HitTopic
KissTopic
NoTopic
TouchTopic
YesNoTopic
YesTopic
SceneTopic
SceneEndTopic
SceneStartTopic
ShowTopic
SlaveTopic
SpecialTopic
QueryTopic
SayTopic
TalkTopic
AskTalkTopic
AskTellTalkTopic
TellTalkTopic
TellTalkShowTopic
TellTopic
BeforeRule
Thing
Actor
Button
Collective
DispensingCollective
Consultable
Container
Booth
OpenableContainer
KeyedContainer
LockableContainer
Door
SecretDoor
Fixture
CollectiveGroup
MobileCollectiveGroup
Component
ContainerDoor
Decoration
Distant
RoomPart
Ceiling
DefaultWall
SensoryEmanation
Noise
SimpleNoise
Odor
SimpleOdor
Unthing
Enterable
Heavy
Floor
Food
Immovable
Key
Lever
MinorItem
Passage
PathPassage
Player
RearContainer
Room
OutdoorRoom
Settable
Dial
NumberedDial
SimpleAttachable
AttachableComponent
NearbyAttachable
Attachable
StairwayDown
StairwayUp
SubComponent
Surface
Platform
Bed
Chair
Switch
Flashlight
SymPassage
SymDoor
SymPathPassage
SymStairway
Underside
Wearable
Global Objects
(none)
Summary of Properties
(none)
Summary of Methods
doInstead
doNested
doOtherAction
Properties
(none)
Methods
doInstead (altAction, [args])
doInstead() turns the current action into altAction with the objects specified in args, and executes altAction as a replacement for the current action.
doNested (altAction, [args])
doNested() executes altAction with the objects specified in args, executins altAction as part of the current action.
doOtherAction (isReplacement, altAction, [args])
Execute altAction on the objects specified in the args parameter. If isReplacement is true make altAction a replacement for the current action.
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1