cleanup SortableSprite

This commit is contained in:
Dank074 2021-05-08 19:09:57 -05:00
parent 128da52d81
commit a6f8bb4d54

View File

@ -3,7 +3,7 @@ import { ISortableSprite } from '../../object/visualization/ISortableSprite';
export class SortableSprite implements ISortableSprite
{
public static _Str_17154: number = 100000000;
public static Z_INFINITY: number = 100000000;
private _name: string;
private _sprite: IRoomObjectSprite;
@ -24,7 +24,7 @@ export class SortableSprite implements ISortableSprite
public dispose(): void
{
this._z = -(SortableSprite._Str_17154);
this._z = -(SortableSprite.Z_INFINITY);
this._sprite = null;
}
@ -77,4 +77,4 @@ export class SortableSprite implements ISortableSprite
{
this._z = z;
}
}
}