2024-04-03 09:27:56 +02: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;
}
}