MCPcopy Create free account
hub / github.com/Card-Forge/forge / fetch

Method fetch

forge-gui-mobile/src/forge/CachedCardImage.java:31–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 }
30
31 public void fetch() {
32 if (!ImageCache.getInstance().imageKeyFileExists(key)) {
33 fetcher.fetchImage(key, this);
34 }
35 }
36
37 public Texture getImage() {
38 return ImageCache.getInstance().getImage(key, true);

Callers 1

CachedCardImageMethod · 0.95

Calls 3

getInstanceMethod · 0.95
imageKeyFileExistsMethod · 0.80
fetchImageMethod · 0.80

Tested by

no test coverage detected