summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-02-28 21:56:08 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-02-28 21:56:08 +0100
commit3407a39ef9ea6cca6be094f954ab227824bef997 (patch)
tree4f6b6d163ea53aebe32b434d8110f081515eeb09 /core/src
parent413e3d9147d430c2c5423c31251cfcee2622b297 (diff)
downloadRustAndDust-3407a39ef9ea6cca6be094f954ab227824bef997.zip
RustAndDust-3407a39ef9ea6cca6be094f954ab227824bef997.tar.gz
Config: add boolean gameModeImplemented()
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/tankontank/game/Config.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Config.java b/core/src/ch/asynk/tankontank/game/Config.java
index a04cf9b..aa0084a 100644
--- a/core/src/ch/asynk/tankontank/game/Config.java
+++ b/core/src/ch/asynk/tankontank/game/Config.java
@@ -68,4 +68,9 @@ public class Config
this.battle = null;
this.fxVolume = 1f;
}
+
+ public boolean gameModeImplemented()
+ {
+ return (gameMode == GameMode.SOLO);
+ }
}