From 1ffb71d6566dd3d0262915ef9e956c0d2c4d2aed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 22 Jan 2016 14:49:44 +0100 Subject: ObjectivesPanel: no need to keep a ref to RustAndDust --- core/src/ch/asynk/rustanddust/game/hud/ObjectivesPanel.java | 2 -- 1 file changed, 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; -- cgit v1.1-2-g2b99