mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
removes comment refecting my doubts
This commit is contained in:
@@ -167,10 +167,8 @@ public class ImageCache {
|
|||||||
// Inventory items don't have to know how a certain client should draw them.
|
// Inventory items don't have to know how a certain client should draw them.
|
||||||
// That's why this method is not encapsulated and overloaded in the InventoryItem descendants
|
// That's why this method is not encapsulated and overloaded in the InventoryItem descendants
|
||||||
public static String getImageKey(InventoryItem ii, boolean altState) {
|
public static String getImageKey(InventoryItem ii, boolean altState) {
|
||||||
if ( ii instanceof CardPrinted ) {
|
if ( ii instanceof CardPrinted )
|
||||||
// have to determine which pictures are present in our filesystem and use either set-pictures or non-set ones.
|
|
||||||
return getImageKey((CardPrinted)ii, altState, true);
|
return getImageKey((CardPrinted)ii, altState, true);
|
||||||
}
|
|
||||||
if ( ii instanceof TournamentPack )
|
if ( ii instanceof TournamentPack )
|
||||||
return ImageCache.TOURNAMENTPACK_PREFIX + ((TournamentPack)ii).getEdition();
|
return ImageCache.TOURNAMENTPACK_PREFIX + ((TournamentPack)ii).getEdition();
|
||||||
if ( ii instanceof BoosterPack )
|
if ( ii instanceof BoosterPack )
|
||||||
|
|||||||
Reference in New Issue
Block a user