Move to Renderer V2

This commit is contained in:
duckietm
2024-04-03 09:27:56 +02:00
parent 110c3ad393
commit b3134ce50b
4080 changed files with 115593 additions and 66375 deletions
@@ -0,0 +1,28 @@
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;
}
}