You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-20 07:26:18 +00:00
29 lines
580 B
TypeScript
29 lines
580 B
TypeScript
import { Texture } from 'pixi.js';
|
|
import { NitroEvent } from '../core';
|
|
|
|
export class BadgeImageReadyEvent extends NitroEvent
|
|
{
|
|
public static IMAGE_READY: string = 'BIME_BADGE_IMAGE_READY';
|
|
|
|
private _badgeId: string;
|
|
private _image: Texture;
|
|
|
|
constructor(badgeId: string, image: Texture)
|
|
{
|
|
super(BadgeImageReadyEvent.IMAGE_READY);
|
|
|
|
this._badgeId = badgeId;
|
|
this._image = image;
|
|
}
|
|
|
|
public get badgeId(): string
|
|
{
|
|
return this._badgeId;
|
|
}
|
|
|
|
public get image(): Texture
|
|
{
|
|
return this._image;
|
|
}
|
|
}
|