()
| 77 | private Set<String> cardsLoaded; |
| 78 | private Queue<String> syncQ; |
| 79 | public static ImageCache getInstance() { |
| 80 | if (imageCache == null) { |
| 81 | imageCache = new ImageCache(); |
| 82 | imageCache.initCache(Forge.cacheSize); |
| 83 | } |
| 84 | return imageCache; |
| 85 | } |
| 86 | private void initCache(int capacity) { |
| 87 | //override maxCardCapacity |
| 88 | maxCardCapacity = capacity; |