From dd372b41c9dabb7e6610ec7550ae40c4ebacb67b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 7 Mar 2016 19:59:30 +0100 Subject: Ctrl: States are final --- core/src/ch/asynk/rustanddust/game/Ctrl.java | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java index 81ac268..284d20d 100644 --- a/core/src/ch/asynk/rustanddust/game/Ctrl.java +++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java @@ -29,16 +29,16 @@ public abstract class Ctrl implements Disposable public boolean blockHud; private Hex touchedHex; - private State selectState; - private State pathState; - private State rotateState; - private State promoteState; - private State engageState; - private State breakState; - private State animationState; - private State reinforcementState; - private State deploymentState; - private State withdrawState; + private final State selectState; + private final State pathState; + private final State rotateState; + private final State promoteState; + private final State engageState; + private final State breakState; + private final State animationState; + private final State reinforcementState; + private final State deploymentState; + private final State withdrawState; private int animationCount = 0; -- cgit v1.1-2-g2b99