summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-02-10 17:22:22 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-02-10 17:22:22 +0100
commit3801826023cfa8afc43f155e3f32d2f2ede47cef (patch)
treec789fd90b48e214ddc322dbf6e882bb9bb75c2aa
parenta3054d31fc691f582724419a1ac0a6a545b8551c (diff)
downloadRustAndDust-3801826023cfa8afc43f155e3f32d2f2ede47cef.zip
RustAndDust-3801826023cfa8afc43f155e3f32d2f2ede47cef.tar.gz
Statistics -> StatisticsPanel
-rw-r--r--core/src/ch/asynk/tankontank/game/Hud.java6
-rw-r--r--core/src/ch/asynk/tankontank/game/hud/StatisticsPanel.java (renamed from core/src/ch/asynk/tankontank/game/hud/Statistics.java)4
2 files changed, 5 insertions, 5 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Hud.java b/core/src/ch/asynk/tankontank/game/Hud.java
index 0afc999..0e0a3a2 100644
--- a/core/src/ch/asynk/tankontank/game/Hud.java
+++ b/core/src/ch/asynk/tankontank/game/Hud.java
@@ -19,7 +19,7 @@ import ch.asynk.tankontank.ui.OkCancel;
import ch.asynk.tankontank.ui.Widget;
import ch.asynk.tankontank.game.hud.PlayerInfo;
import ch.asynk.tankontank.game.hud.ActionButtons;
-import ch.asynk.tankontank.game.hud.Statistics;
+import ch.asynk.tankontank.game.hud.StatisticsPanel;
import ch.asynk.tankontank.game.hud.Engagement;
import ch.asynk.tankontank.TankOnTank;
@@ -38,7 +38,7 @@ public class Hud implements Disposable, Animation
public ActionButtons actionButtons;
private Msg msg;
- private Statistics stats;
+ private StatisticsPanel stats;
private Engagement engagement;
private OkCancel okCancel;
private LinkedList<Widget> dialogs = new LinkedList<Widget>();
@@ -54,7 +54,7 @@ public class Hud implements Disposable, Animation
actionButtons.hide();
msg = new Msg(game.fontB, game.uiAtlas);
okCancel = new OkCancel(game.fontB, game.uiAtlas);
- stats = new Statistics(game.fontB, game.uiAtlas);
+ stats = new StatisticsPanel(game.fontB, game.uiAtlas);
engagement = new Engagement(game.fontB, game.uiAtlas, hudAtlas);
}
diff --git a/core/src/ch/asynk/tankontank/game/hud/Statistics.java b/core/src/ch/asynk/tankontank/game/hud/StatisticsPanel.java
index 9517b8c..9ad75a6 100644
--- a/core/src/ch/asynk/tankontank/game/hud/Statistics.java
+++ b/core/src/ch/asynk/tankontank/game/hud/StatisticsPanel.java
@@ -11,7 +11,7 @@ import ch.asynk.tankontank.ui.Label;
import ch.asynk.tankontank.ui.Patch;
import ch.asynk.tankontank.ui.Position;
-public class Statistics extends Patch
+public class StatisticsPanel extends Patch
{
public static int OK_OFFSET = 10;
public static int PADDING = 20;
@@ -24,7 +24,7 @@ public class Statistics extends Patch
private Label stats2;
private Bg okBtn;
- public Statistics(BitmapFont font, TextureAtlas atlas)
+ public StatisticsPanel(BitmapFont font, TextureAtlas atlas)
{
super(atlas.createPatch("typewriter"));
this.title = new Label(font);