Skip to content

Commit

Permalink
Moved resources to folder "blackbeard".
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyBazooka89 committed Oct 26, 2018
1 parent ab4609d commit 4458ed7
Show file tree
Hide file tree
Showing 197 changed files with 24 additions and 24 deletions.
38 changes: 19 additions & 19 deletions src/main/java/blackbeard/TheBlackbeardMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,24 @@ public class TheBlackbeardMod implements PostInitializeSubscriber,
private static final Color BLACK = CardHelper.getColor(0.0f, 0.0f, 0.0f);

// card backgrounds
private static final String ATTACK_BLACK = "img/512/bg_attack_black.png";
private static final String SKILL_BLACK = "img/512/bg_skill_black.png";
private static final String POWER_BLACK = "img/512/bg_power_black.png";
private static final String ENERGY_ORB_BLACK = "img/512/card_red_orb.png";
private static final String ATTACK_BLACK = "blackbeard/img/512/bg_attack_black.png";
private static final String SKILL_BLACK = "blackbeard/img/512/bg_skill_black.png";
private static final String POWER_BLACK = "blackbeard/img/512/bg_power_black.png";
private static final String ENERGY_ORB_BLACK = "blackbeard/img/512/card_red_orb.png";

private static final String ATTACK_BLACK_PORTRAIT = "img/1024/bg_attack_black.png";
private static final String SKILL_BLACK_PORTRAIT = "img/1024/bg_skill_black.png";
private static final String POWER_BLACK_PORTRAIT = "img/1024/bg_power_black.png";
private static final String ENERGY_ORB_BLACK_PORTRAIT = "img/1024/card_red_orb.png";
private static final String ATTACK_BLACK_PORTRAIT = "blackbeard/img/1024/bg_attack_black.png";
private static final String SKILL_BLACK_PORTRAIT = "blackbeard/img/1024/bg_skill_black.png";
private static final String POWER_BLACK_PORTRAIT = "blackbeard/img/1024/bg_power_black.png";
private static final String ENERGY_ORB_BLACK_PORTRAIT = "blackbeard/img/1024/card_red_orb.png";

private static final String ENERGY_ORB_IN_DESCRIPTION = "img/energy/energyOrbInDescription.png";
private static final String ENERGY_ORB_IN_DESCRIPTION = "blackbeard/img/energy/energyOrbInDescription.png";

// blackbeard assets
private static final String BLACKBEARD_BUTTON = "img/charSelect/blackbeardButton.png";
private static final String BLACKBEARD_PORTRAIT = "img/charSelect/blackbeardPortrait.jpg";
private static final String BLACKBEARD_BUTTON = "blackbeard/img/charSelect/blackbeardButton.png";
private static final String BLACKBEARD_PORTRAIT = "blackbeard/img/charSelect/blackbeardPortrait.jpg";

// badge
public static final String BADGE_IMG = "img/ModBadge.png";
public static final String BADGE_IMG = "blackbeard/img/ModBadge.png";

public TheBlackbeardMod() {
BaseMod.subscribe(this);
Expand All @@ -76,15 +76,15 @@ public TheBlackbeardMod() {
}

public static String getCardImagePath(String cardID) {
return "img/cards/" + cardID.replaceFirst("blackbeard:", "") + ".png";
return "blackbeard/img/cards/" + cardID.replaceFirst("blackbeard:", "") + ".png";
}

public static String getRelicImagePath(String cardID) {
return "img/relics/" + cardID.replaceFirst("blackbeard:", "") + ".png";
return "blackbeard/img/relics/" + cardID.replaceFirst("blackbeard:", "") + ".png";
}

public static String getOrbImagePath(String cardID) {
return "img/orbs/" + cardID.replaceFirst("blackbeard:", "") + ".png";
return "blackbeard/img/orbs/" + cardID.replaceFirst("blackbeard:", "") + ".png";
}

public static void initialize() {
Expand Down Expand Up @@ -228,19 +228,19 @@ public void receiveEditStrings() {
logger.info("begin editing strings");

// RelicStrings
String relicStrings = Gdx.files.internal("localization/TheBlackbeard-RelicStrings.json").readString(
String relicStrings = Gdx.files.internal("blackbeard/localization/TheBlackbeard-RelicStrings.json").readString(
String.valueOf(StandardCharsets.UTF_8));
BaseMod.loadCustomStrings(RelicStrings.class, relicStrings);
// CardStrings
String cardStrings = Gdx.files.internal("localization/TheBlackbeard-CardStrings.json").readString(
String cardStrings = Gdx.files.internal("blackbeard/localization/TheBlackbeard-CardStrings.json").readString(
String.valueOf(StandardCharsets.UTF_8));
BaseMod.loadCustomStrings(CardStrings.class, cardStrings);
//PowerStrings
String powerStrings = Gdx.files.internal("localization/TheBlackbeard-PowerStrings.json").readString(
String powerStrings = Gdx.files.internal("blackbeard/localization/TheBlackbeard-PowerStrings.json").readString(
String.valueOf(StandardCharsets.UTF_8));
BaseMod.loadCustomStrings(PowerStrings.class, powerStrings);
//OrbStrings
String orbStrings = Gdx.files.internal("localization/TheBlackbeard-OrbStrings.json").readString(
String orbStrings = Gdx.files.internal("blackbeard/localization/TheBlackbeard-OrbStrings.json").readString(
String.valueOf(StandardCharsets.UTF_8));
BaseMod.loadCustomStrings(OrbStrings.class, orbStrings);

Expand Down
10 changes: 5 additions & 5 deletions src/main/java/blackbeard/characters/TheBlackbeard.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ public class TheBlackbeard extends CustomPlayer {

private static final int ENERGY_PER_TURN = 3;

private static final String BLACKBEARD_SKELETON_ATLAS_PATH = "img/char/blackbeard/idle/skeleton.atlas";
private static final String BLACKBEARD_SKELETON_JSON_PATH = "img/char/blackbeard/idle/skeleton.json";
private static final String BLACKBEARD_SHOULDER_1 = "img/char/blackbeard/shoulder.png";
private static final String BLACKBEARD_SHOULDER_2 = "img/char/blackbeard/shoulder2.png";
private static final String BLACKBEARD_CORPSE = "img/char/blackbeard/corpse.png";
private static final String BLACKBEARD_SKELETON_ATLAS_PATH = "blackbeard/img/char/blackbeard/idle/skeleton.atlas";
private static final String BLACKBEARD_SKELETON_JSON_PATH = "blackbeard/img/char/blackbeard/idle/skeleton.json";
private static final String BLACKBEARD_SHOULDER_1 = "blackbeard/img/char/blackbeard/shoulder.png";
private static final String BLACKBEARD_SHOULDER_2 = "blackbeard/img/char/blackbeard/shoulder2.png";
private static final String BLACKBEARD_CORPSE = "blackbeard/img/char/blackbeard/corpse.png";

public static final String DEFAULT_POWER_CARD_ID = "blackbeard:BetaPower";
public static final String DEFAULT_SKILL_CARD_ID = "blackbeard:BetaSkill";
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 4458ed7

Please sign in to comment.