bgmFactory property

BgmFactory bgmFactory
getter/setter pair

The factory used to create the global Bgm instance.

Useful to override the default Bgm constructor in testing or edge cases where the developer needs control on how Bgm are created.

Implementation

static BgmFactory bgmFactory = Bgm.new;