2024-03-02 21:01:28 +01:00

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;
}
}