Daemonclassevents.t[396]

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  

interval_ 

Inherited from Event :
captureText  eventOrder  executed  isPromptDaemon  nextRunTime  obj_  prop_  senseObj_  senseProp_ 

Summary of Methods  

construct  executeEvent 

Inherited from Event :
callMethod  delayEvent  eventMatches  getNextRunTime  removeEvent 

Properties  

interval_OVERRIDDENevents.t[444]

our execution interval, in turns

Methods  

construct (obj, prop, interval)OVERRIDDENevents.t[405]

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 ( )OVERRIDDENevents.t[434]
execute the daemon

Adv3Lite Library Reference Manual
Generated on 25/04/2024 from adv3Lite version 2.0