#28 修复解析properties

This commit is contained in:
yhh
2020-08-14 11:44:20 +08:00
parent a2a73562a0
commit 15f6b06348
15 changed files with 1681 additions and 195 deletions
+3 -5
View File
@@ -40,10 +40,8 @@ module es {
// }
export class TmxImage {
public bitmap: egret.Bitmap;
public get texture(): egret.Texture{
return this.bitmap.texture;
}
public texture: egret.Bitmap;
public bitmap: egret.SpriteSheet;
public source: string;
public format: string;
public data: any;
@@ -53,7 +51,7 @@ module es {
public dispose(){
if (this.bitmap){
this.texture.dispose();
this.bitmap.dispose();
this.bitmap = null;
}
}