AttractModeEvent

This event class is fired when the program enters or exits "Attract Mode". Attract Mode is the screen saver mode that kicks in after a period of time (configurable in the user's option settings) without any button input from the user. In Attract Mode, the system randomly switches between games every few seconds. This serves the dual purposes of avoiding "burn-in" (image retention) by ensuring that the same image isn't left on the screen for long periods when the machine is idle, and adding to the arcade ambiance by making the graphics more dynamic when the machine isn't being used.

The event target for this event type is the mainWindow object.

There are two subtypes of AttractModeEvent:

These events aren't fired when you start or exit attract mode directly from scripting code via mainWindow.startAttractMode() or mainWindow.endAttractMode(), respectively.

Properties

This event type has all of the standard event properties and methods (see the Event class). It has no additional properties beyond the standard set.