get_config

Function
get_config()

Get the global configuration instance

Returns

Global Svan2DConfig instance

Examples

from svan2d.config import get_config, ConfigKey
    config = get_config()
    width = config.get(ConfigKey.SCENE_WIDTH)
    width
    800