self.machine.score_player

class mpf.config_players.score_player.ScorePlayer(machine)

Bases: mpf.core.config_player.ConfigPlayer

Posts events based on config.

Accessing the score_player in code

The score_player is available via self.machine.score_player.

Methods & Attributes

The score_player has the following methods & attributes available. Note that methods & attributes inherited from the base class are not included here.

clear_context(context)

Clear context.

get_express_config(value)

Parse express config.

get_list_config(value)

Parse list.

play(settings, context, calling_context, priority=0, **kwargs)

Score variable.

validate_config_entry(settings, name)

Validate one entry of this player.