import { Component } from "../../ecs/classes/Component"; /** Component class for Sound Effect. */ export class SoundEffect extends Component { /** Audio track container. */ audio: any; /** Source of the audio track. */ src: any; /** Volumne of the sound track. **Default** value is 0.5. */ volume: number; constructor() { super(); this.audio = null; this.src = null; this.volume = 1.0; } }