diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-02-28 21:56:08 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-02-28 21:56:08 +0100 |
commit | 3407a39ef9ea6cca6be094f954ab227824bef997 (patch) | |
tree | 4f6b6d163ea53aebe32b434d8110f081515eeb09 /core | |
parent | 413e3d9147d430c2c5423c31251cfcee2622b297 (diff) | |
download | RustAndDust-3407a39ef9ea6cca6be094f954ab227824bef997.zip RustAndDust-3407a39ef9ea6cca6be094f954ab227824bef997.tar.gz |
Config: add boolean gameModeImplemented()
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Config.java | 5 |
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); + } } |