UNPKG

@drincs/pixi-vn

Version:

Pixi'VN is a npm package that provides various features for creating visual novels.

17 lines (16 loc) 524 B
// src/classes/CanvasEvent.ts var CanvasEvent = class { constructor() { /** * Get the id of the event. This variable is used in the system to get the event by id, {@link getEventInstanceById} */ this.id = "event_id_not_set"; this.id = this.constructor.prototype.id; } fn(_event, _element) { throw new Error("[Pixi'VN] The method CanvasEvent.fn() must be overridden"); } }; export { CanvasEvent as default }; //# sourceMappingURL=CanvasEvent.mjs.map //# sourceMappingURL=CanvasEvent.mjs.map