@pixi-spine/runtime-3.7
Version:
Pixi runtime for spine 3.7 models
1 lines • 850 B
Source Map (JSON)
{"version":3,"file":"Event.mjs","sources":["../../src/core/Event.ts"],"sourcesContent":["import type { EventData } from './EventData';\nimport type { IEvent } from '@pixi-spine/base';\n\n/**\n * @public\n */\nexport class Event implements IEvent {\n data: EventData;\n intValue: number;\n floatValue: number;\n stringValue: string;\n time: number;\n volume: number;\n balance: number;\n\n constructor(time: number, data: EventData) {\n if (data == null) throw new Error('data cannot be null.');\n this.time = time;\n this.data = data;\n }\n}\n"],"names":[],"mappings":"AAMO,MAAM,KAAwB,CAAA;AAAA,EASjC,WAAA,CAAY,MAAc,IAAiB,EAAA;AACvC,IAAA,IAAI,IAAQ,IAAA,IAAA;AAAM,MAAM,MAAA,IAAI,MAAM,sBAAsB,CAAA,CAAA;AACxD,IAAA,IAAA,CAAK,IAAO,GAAA,IAAA,CAAA;AACZ,IAAA,IAAA,CAAK,IAAO,GAAA,IAAA,CAAA;AAAA,GAChB;AACJ;;;;"}