summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-07 19:59:30 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-07 19:59:30 +0100
commitdd372b41c9dabb7e6610ec7550ae40c4ebacb67b (patch)
tree477edc97f1fe8a6ff5173ddb250435aedbb5951e /core/src/ch/asynk
parent6fbcdfdcfb3824acc4ce20d0922492fff8cd546d (diff)
downloadRustAndDust-dd372b41c9dabb7e6610ec7550ae40c4ebacb67b.zip
RustAndDust-dd372b41c9dabb7e6610ec7550ae40c4ebacb67b.tar.gz
Ctrl: States are final
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Ctrl.java20
1 files 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;