Add BlockTile.getImage() for backwards compatibility.
Add no-argument form, which gets the first image in the sequence,
as a replacement for the method in the previous API.
@@ -37,6 +37,10 @@ public BlockTile(ResourceUrn urn, AssetType<?, TileData> assetType, TileData dat
reload(data);
}
+ public BufferedImage getImage() {
+ return getImage(0);
+ }
+
public BufferedImage getImage(int i) {
return images[i];
}
