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

Method getUnskinnedIcon

forge-gui-mobile/src/forge/GuiMobile.java:126–134  ·  view source on GitHub ↗
(final String path)

Source from the content-addressed store, hash-verified

124 }
125
126 @Override
127 public ISkinImage getUnskinnedIcon(final String path) {
128 if (isGuiThread()) {
129 return new FTextureImage(Forge.getAssets().getTexture(Gdx.files.absolute(path)));
130 }
131
132 //use a delay load image to avoid an error if called from background thread
133 return new FDelayLoadImage(path);
134 }
135
136 @Override
137 public ISkinImage getCardArt(final PaperCard card, final boolean backFace) {

Callers

nothing calls this directly

Calls 3

isGuiThreadMethod · 0.95
getAssetsMethod · 0.95
getTextureMethod · 0.45

Tested by

no test coverage detected