mini_arcade_pygame_backend.config

Configuration for the mini-arcade-pygame-backend package. This is mostly used for packaging and distribution. It is not used at runtime.

Classes

PygameBackendSettings

Settings for configuring the pygame backend.

Module Contents

class mini_arcade_pygame_backend.config.PygameBackendSettings[source]

Settings for configuring the pygame backend.

Variables:
  • core – Core backend settings.

  • api – The rendering API to use.

core: mini_arcade_core.backend.config.BackendSettings
to_dict() dict[source]

Convert the PygameBackendSettings to a dictionary.

Returns:

Dictionary representation of the settings.

Return type:

dict

classmethod from_dict(data: dict) PygameBackendSettings[source]

Create a PygameBackendSettings instance from a dictionary.

Parameters:

data (dict) – Dictionary containing the settings.

Returns:

PygameBackendSettings instance.

Return type:

PygameBackendSettings