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

Method put

forge-gui-mobile/src/forge/assets/Assets.java:232–238  ·  view source on GitHub ↗
(String key, Texture value)

Source from the content-addressed store, hash-verified

230 if (fallback_skins == null)
231 fallback_skins = new ObjectMap<String, Texture>() {
232 @Override
233 public Texture put(String key, Texture value) {
234 Texture old = remove(key);
235 if (old != null)
236 old.dispose();
237 return super.put(key, value);
238 }
239 };
240 return fallback_skins;
241 }

Callers 15

QuestEditMethod · 0.45
PointOfInterestEditMethod · 0.45
EnemyEditMethod · 0.45
SwingAtlasMethod · 0.45
setSpritePathMethod · 0.45
afterDbLoadedMethod · 0.45
_getMethod · 0.45
getCharacterSetMethod · 0.45
FSkinImageMethod · 0.45
AssetsMethod · 0.45

Calls 2

disposeMethod · 0.65
removeMethod · 0.45

Tested by 15

LegacyCardDbMethod · 0.36
handleGameEventsMethod · 0.36
addResultMethod · 0.36
addErrorMethod · 0.36
addTimeoutMethod · 0.36
assignCombatDamageMethod · 0.36
aggregateMetricsMethod · 0.36
parseCheckpointsMethod · 0.36
toMarkdownMethod · 0.36
extractErrorContextsMethod · 0.36