From 3407a39ef9ea6cca6be094f954ab227824bef997 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sat, 28 Feb 2015 21:56:08 +0100 Subject: Config: add boolean gameModeImplemented() --- core/src/ch/asynk/tankontank/game/Config.java | 5 +++++ 1 file changed, 5 insertions(+) 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); + } } -- cgit v1.1-2-g2b99