Daemonclass
A Daemon is an Event that executes once every defined number of turns.
class
Daemon
:
Event
Superclass Tree (in declaration order)
Daemon
Event
` object`
Subclass Tree
Daemon
SenseDaemon
Global Objects
(none)
Summary of Properties
Inherited from Event
:
captureText
eventOrder
executed
isPromptDaemon
nextRunTime
obj_
prop_
senseObj_
senseProp_
Summary of Methods
Inherited from Event
:
callMethod
delayEvent
eventMatches
getNextRunTime
removeEvent
Properties
interval_
OVERRIDDEN
our execution interval, in turns
Methods
construct (obj, prop, interval)
OVERRIDDEN
Creation. ‘interval’ is the number of turns between invocations of the daemon; this should be at least 1, which causes the daemon to be invoked on each turn. The first execution will be (interval-1) turns in the future - so if interval is 1, the daemon will first be executed on the current turn, and if interval is 2, the daemon will be executed on the next turn.
executeEvent ( )
OVERRIDDEN
execute the daemon
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1