diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Hud.java | 6 | ||||
-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); |