Fixed card icons in bazaar pet stall.

This commit is contained in:
Doublestrike
2012-02-03 04:55:37 +00:00
parent 0663261e62
commit 4cf9691963
5 changed files with 37 additions and 27 deletions

View File

@@ -17,6 +17,8 @@
*/
package forge.quest.data.pet;
import java.io.File;
import javax.swing.ImageIcon;
import forge.AllZone;
@@ -106,12 +108,12 @@ public class QuestPetBird extends QuestPetAbstract {
/** {@inheritDoc} */
@Override
public final ImageIcon[] getAllIcons() {
final String address = ForgeProps.getFile(NewConstants.IMAGE_TOKEN).getAbsolutePath();
final String address = ForgeProps.getFile(NewConstants.IMAGE_TOKEN).getAbsolutePath() + File.separator;
return new ImageIcon[] { null,
new ImageIcon(address + "w_0_1_bird_pet_small.jpg"),
new ImageIcon(address + "w_1_1_bird_pet_small.jpg"),
new ImageIcon(address + "w_2_1_bird_pet_small.jpg"),
new ImageIcon(address + "w_2_1_bird_pet_first_strike_small.jpg") };
new ImageIcon(address + "w_0_1_bird_pet.jpg"),
new ImageIcon(address + "w_1_1_bird_pet.jpg"),
new ImageIcon(address + "w_2_1_bird_pet.jpg"),
new ImageIcon(address + "w_2_1_bird_pet_first_strike.jpg") };
}
}

View File

@@ -17,6 +17,8 @@
*/
package forge.quest.data.pet;
import java.io.File;
import javax.swing.ImageIcon;
import forge.AllZone;
@@ -102,12 +104,12 @@ public class QuestPetCrocodile extends QuestPetAbstract {
/** {@inheritDoc} */
@Override
public final ImageIcon[] getAllIcons() {
final String address = ForgeProps.getFile(NewConstants.IMAGE_TOKEN).getAbsolutePath();
final String address = ForgeProps.getFile(NewConstants.IMAGE_TOKEN).getAbsolutePath() + File.separator;
return new ImageIcon[] { null,
new ImageIcon(address + "b_1_1_crocodile_pet_small.jpg"),
new ImageIcon(address + "b_2_1_crocodile_pet_small.jpg"),
new ImageIcon(address + "b_3_1_crocodile_pet_small.jpg"),
new ImageIcon(address + "b_3_1_crocodile_pet_swampwalk_small.jpg") };
new ImageIcon(address + "b_1_1_crocodile_pet.jpg"),
new ImageIcon(address + "b_2_1_crocodile_pet.jpg"),
new ImageIcon(address + "b_3_1_crocodile_pet.jpg"),
new ImageIcon(address + "b_3_1_crocodile_pet_swampwalk.jpg") };
}
}

View File

@@ -17,6 +17,8 @@
*/
package forge.quest.data.pet;
import java.io.File;
import javax.swing.ImageIcon;
import forge.AllZone;
@@ -118,12 +120,12 @@ public class QuestPetHound extends QuestPetAbstract {
/** {@inheritDoc} */
@Override
public final ImageIcon[] getAllIcons() {
final String address = ForgeProps.getFile(NewConstants.IMAGE_TOKEN).getAbsolutePath();
final String address = ForgeProps.getFile(NewConstants.IMAGE_TOKEN).getAbsolutePath() + File.separator;
return new ImageIcon[] { null,
new ImageIcon(address + "r_1_1_hound_pet_small.jpg"),
new ImageIcon(address + "r_1_1_hound_pet_haste_small.jpg"),
new ImageIcon(address + "r_2_1_hound_pet_small.jpg"),
new ImageIcon(address + "r_2_1_hound_pet_alone_small.jpg") };
new ImageIcon(address + "r_1_1_hound_pet.jpg"),
new ImageIcon(address + "r_1_1_hound_pet_haste.jpg"),
new ImageIcon(address + "r_2_1_hound_pet.jpg"),
new ImageIcon(address + "r_2_1_hound_pet_alone.jpg") };
}
}

View File

@@ -17,6 +17,8 @@
*/
package forge.quest.data.pet;
import java.io.File;
import javax.swing.ImageIcon;
import forge.AllZone;
@@ -152,15 +154,15 @@ public class QuestPetPlant extends QuestPetAbstract {
/** {@inheritDoc} */
@Override
public final ImageIcon[] getAllIcons() {
final String address = ForgeProps.getFile(NewConstants.IMAGE_TOKEN).getAbsolutePath();
final String address = ForgeProps.getFile(NewConstants.IMAGE_TOKEN).getAbsolutePath() + File.separator;
return new ImageIcon[] { null,
new ImageIcon(address + "g_0_1_plant_wall_small.jpg"),
new ImageIcon(address + "g_0_2_plant_wall_small.jpg"),
new ImageIcon(address + "g_0_3_plant_wall_small.jpg"),
new ImageIcon(address + "g_1_3_plant_wall_small.jpg"),
new ImageIcon(address + "g_1_3_plant_wall_deathtouch_small.jpg"),
new ImageIcon(address + "g_1_4_plant_wall_small.jpg") };
new ImageIcon(address + "g_0_1_plant_wall.jpg"),
new ImageIcon(address + "g_0_2_plant_wall.jpg"),
new ImageIcon(address + "g_0_3_plant_wall.jpg"),
new ImageIcon(address + "g_1_3_plant_wall.jpg"),
new ImageIcon(address + "g_1_3_plant_wall_deathtouch.jpg"),
new ImageIcon(address + "g_1_4_plant_wall.jpg") };
}
/** {@inheritDoc} */

View File

@@ -17,6 +17,8 @@
*/
package forge.quest.data.pet;
import java.io.File;
import javax.swing.ImageIcon;
import forge.AllZone;
@@ -103,12 +105,12 @@ public class QuestPetWolf extends QuestPetAbstract {
/** {@inheritDoc} */
@Override
public final ImageIcon[] getAllIcons() {
final String address = ForgeProps.getFile(NewConstants.IMAGE_TOKEN).getAbsolutePath();
final String address = ForgeProps.getFile(NewConstants.IMAGE_TOKEN).getAbsolutePath() + File.separator;
return new ImageIcon[] { null,
new ImageIcon(address + "g_1_1_wolf_pet_small.jpg"),
new ImageIcon(address + "g_1_2_wolf_pet_small.jpg"),
new ImageIcon(address + "g_2_2_wolf_pet_small.jpg"),
new ImageIcon(address + "g_2_2_wolf_pet_flanking_small.jpg") };
new ImageIcon(address + "g_1_1_wolf_pet.jpg"),
new ImageIcon(address + "g_1_2_wolf_pet.jpg"),
new ImageIcon(address + "g_2_2_wolf_pet.jpg"),
new ImageIcon(address + "g_2_2_wolf_pet_flanking.jpg") };
}
}