2
0
Nicolas Cannasse 12 жил өмнө
parent
commit
73e98839c9
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  1. 4 0
      hxd/res/Any.hx

+ 4 - 0
hxd/res/Any.hx

@@ -25,6 +25,10 @@ class Any extends Resource {
 	public function toTile() {
 		return loader.loadTexture(entry.path).toTile();
 	}
+	
+	public function toString() {
+		return entry.getBytes().toString();
+	}
 
 	public function getTexture() {
 		return loader.loadTexture(entry.path);