self.machine.gi_player¶
-
class
mpf.config_players.gi_player.GiPlayer(machine)¶ Bases:
mpf.config_players.device_config_player.DeviceConfigPlayerEnables GIs based on config.
Accessing the gi_player in code
The gi_player is available via
self.machine.gi_player.Methods & Attributes
The gi_player has the following methods & attributes available. Note that methods & attributes inherited from the base class are not included here.
-
clear_context(context)¶ Disable all used GIs at the end.
-
get_express_config(value)¶ Parse express config.
-
play(settings, context, calling_context, priority=0, **kwargs)¶ Enable GIs.
-