summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-22 14:49:44 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-22 14:49:44 +0100
commit1ffb71d6566dd3d0262915ef9e956c0d2c4d2aed (patch)
treeee828933bb9c24ffd2cca000c961b9ac535ed74a /core/src
parente11acedaac4c4acd5d46d2d559197b0862109bbb (diff)
downloadRustAndDust-1ffb71d6566dd3d0262915ef9e956c0d2c4d2aed.zip
RustAndDust-1ffb71d6566dd3d0262915ef9e956c0d2c4d2aed.tar.gz
ObjectivesPanel: no need to keep a ref to RustAndDust
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/rustanddust/game/hud/ObjectivesPanel.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/hud/ObjectivesPanel.java b/core/src/ch/asynk/rustanddust/game/hud/ObjectivesPanel.java
index 607363f..76ac97f 100644
--- a/core/src/ch/asynk/rustanddust/game/hud/ObjectivesPanel.java
+++ b/core/src/ch/asynk/rustanddust/game/hud/ObjectivesPanel.java
@@ -15,14 +15,12 @@ public class ObjectivesPanel extends Patch
public static int TITLE_PADDING = 5;
public static int LABEL_PADDING = 10;
- private RustAndDust game;
private Label title;
private Label content;
public ObjectivesPanel(RustAndDust game)
{
super(game.ninePatch);
- this.game = game;
this.title = new Label(game.font, LABEL_PADDING);
this.content = new Label(game.font, LABEL_PADDING);
this.visible = false;