mirror of
https://github.com/duckietm/Nitro-Cool-UI-Renderer.git
synced 2025-06-21 23:16:58 +00:00
20 lines
387 B
TypeScript
20 lines
387 B
TypeScript
import { NitroEvent } from './core';
|
|
|
|
export class NitroSoundEvent extends NitroEvent
|
|
{
|
|
public static PLAY_SOUND: string = 'NSOE_PLAY_SOUND';
|
|
|
|
private _sampleCode: string;
|
|
|
|
constructor(type: string, sampleCode: string)
|
|
{
|
|
super(type);
|
|
this._sampleCode = sampleCode;
|
|
}
|
|
|
|
public get sampleCode(): string
|
|
{
|
|
return this._sampleCode;
|
|
}
|
|
}
|