enabled property

bool enabled
getter/setter pair

Turns every sound effect on/off (e.g. from a settings switch).

Implementation

static bool enabled = true;