BeforeRule class | sysrules.t[221]

The BeforeRule class provides a convenient means of defining rules that belong to the beforeRules RuleBook. We derive it from ReplaceRedirector as well as Rule in case users want to use the doInstead() interface to redirect one action to another from a BeforeRule.

`class BeforeRule : Rule ReplaceRedirector`

Superclass Tree (in declaration order)

`BeforeRule`
`Rule`
`object`
`ReplaceRedirector`
`Redirector`
`object`

Subclass Tree

(none)

Global Objects

`actorActionRule checkActionPreconditionsRule roomNotifyBeforeRule sceneNotifyBeforeRule scopeListNotifyBeforeRule`

Summary of Properties

`currentAction location`

Inherited from `Rule` :
`action actor aobj dobj during execAfter execBefore iobj isActive matchObj present priority rulebook rulebooks specificity stopValue where who`

``

``

Summary of Methods

``

Inherited from `Rule` :
`activate addTo calcSpecficity compareTo deactivate follow initializeRule matchConditions moveInto removeFrom runAfter runBefore setRulebook when`

Inherited from `ReplaceRedirector` :
`redirect`

Inherited from `Redirector` :
`doInstead doNested doOtherAction`

Properties

`currentAction` | `sysrules.t[225]`

The current action

`location` OVERRIDDEN | `sysrules.t[222]`

no description available

Methods

(none)

Adv3Lite Library Reference Manual
Generated on 12/09/2014 from adv3Lite version 1.4