Nicolas Cannasse пре 12 година
родитељ
комит
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);