diff --git a/core/src/com/saltosion/gladiator/gui/creators/GameOverGUICreator.java b/core/src/com/saltosion/gladiator/gui/creators/GameOverGUICreator.java index a62222e..16a71a7 100644 --- a/core/src/com/saltosion/gladiator/gui/creators/GameOverGUICreator.java +++ b/core/src/com/saltosion/gladiator/gui/creators/GameOverGUICreator.java @@ -12,15 +12,15 @@ public class GameOverGUICreator implements GUICreator { @Override public void create() { - TextNode titleText = new TextNode("Game Title", "Gladiator Brawler Game Thing!"); + TextNode titleText = new TextNode("game_title", "Gladiator Brawler Game Thing!"); titleText.setPosition(0.23f, 0.8f); AppUtil.guiManager.getRootNode().addChild(titleText); - TextNode gameOverText = new TextNode("Game Over", "Game over"); + TextNode gameOverText = new TextNode("game_over", "Game over"); gameOverText.setPosition(0.415f, 0.6f); AppUtil.guiManager.getRootNode().addChild(gameOverText); - ButtonNode playButton = new ButtonNode("Return Button", SpriteLoader.loadSprite(Name.BUTTON_BIG), + ButtonNode playButton = new ButtonNode("return_button", SpriteLoader.loadSprite(Name.BUTTON_BIG), SpriteLoader.loadSprite(Name.BUTTON_BIG_HOVER)) { @Override public void pressed(int x, int y, int mouseButton) { @@ -32,7 +32,7 @@ public class GameOverGUICreator implements GUICreator { } }; playButton.setPosition(0.5f, 0.4f); - TextNode playButtonText = new TextNode("Return Button Text", "Main Menu"); + TextNode playButtonText = new TextNode("return_button_text", "Main Menu"); playButtonText.setPosition(-0.09f, 0.0175f); playButton.addChild(playButtonText); AppUtil.guiManager.getRootNode().addChild(playButton); diff --git a/core/src/com/saltosion/gladiator/gui/creators/InGameGUICreator.java b/core/src/com/saltosion/gladiator/gui/creators/InGameGUICreator.java index 43509ff..be601cd 100644 --- a/core/src/com/saltosion/gladiator/gui/creators/InGameGUICreator.java +++ b/core/src/com/saltosion/gladiator/gui/creators/InGameGUICreator.java @@ -9,7 +9,7 @@ public class InGameGUICreator implements GUICreator { @Override public void create() { - levelChangeText = new TextNode("Level-Change-Text", "Round X"); + levelChangeText = new TextNode("level_change_text", "Round X"); levelChangeText.setPosition(0.435f, 0.5f); AppUtil.guiManager.getRootNode().addChild(levelChangeText); } diff --git a/core/src/com/saltosion/gladiator/gui/creators/MainMenuGUICreator.java b/core/src/com/saltosion/gladiator/gui/creators/MainMenuGUICreator.java index 876e927..1212673 100644 --- a/core/src/com/saltosion/gladiator/gui/creators/MainMenuGUICreator.java +++ b/core/src/com/saltosion/gladiator/gui/creators/MainMenuGUICreator.java @@ -12,11 +12,11 @@ public class MainMenuGUICreator implements GUICreator { @Override public void create() { - TextNode titleText = new TextNode("Game Title", "Gladiator Brawler Game Thing!"); + TextNode titleText = new TextNode("game_title", "Gladiator Brawler Game Thing!"); titleText.setPosition(0.23f, 0.8f); AppUtil.guiManager.getRootNode().addChild(titleText); - ButtonNode playButton = new ButtonNode("Play Button", SpriteLoader.loadSprite(Name.BUTTON_BIG), + ButtonNode playButton = new ButtonNode("play_button", SpriteLoader.loadSprite(Name.BUTTON_BIG), SpriteLoader.loadSprite(Name.BUTTON_BIG_HOVER)) { @Override public void pressed(int x, int y, int mouseButton) { @@ -28,7 +28,7 @@ public class MainMenuGUICreator implements GUICreator { } }; playButton.setPosition(0.5f, 0.5f); - TextNode playButtonText = new TextNode("Play Button Text", "Play"); + TextNode playButtonText = new TextNode("play_button_text", "Play"); playButtonText.setPosition(-0.0325f, 0.0175f); playButton.addChild(playButtonText); AppUtil.guiManager.getRootNode().addChild(playButton); diff --git a/core/src/com/saltosion/gladiator/gui/creators/WinGUICreator.java b/core/src/com/saltosion/gladiator/gui/creators/WinGUICreator.java index d42c12d..4f0f223 100644 --- a/core/src/com/saltosion/gladiator/gui/creators/WinGUICreator.java +++ b/core/src/com/saltosion/gladiator/gui/creators/WinGUICreator.java @@ -12,15 +12,15 @@ public class WinGUICreator implements GUICreator { @Override public void create() { - TextNode titleText = new TextNode("Game Title", "Gladiator Brawler Game Thing!"); + TextNode titleText = new TextNode("game_title", "Gladiator Brawler Game Thing!"); titleText.setPosition(0.23f, 0.8f); AppUtil.guiManager.getRootNode().addChild(titleText); - TextNode gameOverText = new TextNode("Win", "You win!"); + TextNode gameOverText = new TextNode("win", "You win!"); gameOverText.setPosition(0.415f, 0.6f); AppUtil.guiManager.getRootNode().addChild(gameOverText); - ButtonNode playButton = new ButtonNode("Return Button", SpriteLoader.loadSprite(Name.BUTTON_BIG), + ButtonNode playButton = new ButtonNode("return_button", SpriteLoader.loadSprite(Name.BUTTON_BIG), SpriteLoader.loadSprite(Name.BUTTON_BIG_HOVER)) { @Override public void pressed(int x, int y, int mouseButton) { @@ -32,7 +32,7 @@ public class WinGUICreator implements GUICreator { } }; playButton.setPosition(0.5f, 0.4f); - TextNode playButtonText = new TextNode("Return Button Text", "Main Menu"); + TextNode playButtonText = new TextNode("return_button_text", "Main Menu"); playButtonText.setPosition(-0.09f, 0.0175f); playButton.addChild(playButtonText); AppUtil.guiManager.getRootNode().addChild(playButton);