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

Method getDummy

forge-gui-mobile/src/forge/assets/Assets.java:349–358  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

347 }
348
349 private Texture getDummy() {
350 if (dummy == null) {
351 Pixmap P = new Pixmap(1, 1, Pixmap.Format.RGBA8888);
352 P.setColor(0f, 0f, 0f, 1f);
353 P.drawPixel(0, 0);
354 dummy = new Texture(P);
355 P.dispose();
356 }
357 return dummy;
358 }
359
360 public Texture getHolofoil() {
361 if (holofoil == null) {

Callers 3

AssetsMethod · 0.95
getTextureMethod · 0.95
getDefaultImageMethod · 0.95

Calls 2

disposeMethod · 0.65
setColorMethod · 0.45

Tested by

no test coverage detected