@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
16 lines (14 loc) • 443 B
JavaScript
export class AbstractSoundMaterialDefinition {
constructor() {
}
/**
*
* @param {SoundAssetPlaybackSpec[]} destination
* @param {number} destination_offset
* @param {SoundMaterialInteractionType} interaction
* @returns {number}
*/
computeInteractionSounds(destination, destination_offset, interaction) {
throw new Error('Implementation must override this method');
}
}