mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
cleanup SortableSprite
This commit is contained in:
parent
128da52d81
commit
a6f8bb4d54
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user