WorldContext constructor
WorldContext({
- required Sdl sdl,
- required Game game,
- required World world,
- CustomCommandsMap customCommands = const {},
- ConditionalFunctionsMap conditionalFunctions = const {},
- ErrorHandler? errorHandler,
Create an instance.
Implementation
WorldContext({
required this.sdl,
required this.game,
required this.world,
this.customCommands = const {},
this.conditionalFunctions = const {},
this.errorHandler,
}) : hapticDevices = [],
preferencesDirectory = sdl.getPrefPath(
world.globalOptions.orgName,
world.globalOptions.appName,
),
_audioBusses = {},
_reverbs = {};