MSoundConfig.fromConfig constructor
MSoundConfig.fromConfig({
- required MConfig config,
Implementation
MSoundConfig.fromConfig({required MConfig config}) {
debug = config.config['debug'];
soundPath = config.config["sound-path"] ?? "asset/sound";
}