diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-22 14:49:44 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-22 14:49:44 +0100 |
commit | 1ffb71d6566dd3d0262915ef9e956c0d2c4d2aed (patch) | |
tree | ee828933bb9c24ffd2cca000c961b9ac535ed74a /core/src/ch/asynk | |
parent | e11acedaac4c4acd5d46d2d559197b0862109bbb (diff) | |
download | RustAndDust-1ffb71d6566dd3d0262915ef9e956c0d2c4d2aed.zip RustAndDust-1ffb71d6566dd3d0262915ef9e956c0d2c4d2aed.tar.gz |
ObjectivesPanel: no need to keep a ref to RustAndDust
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/hud/ObjectivesPanel.java | 2 |
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; |