From 1ce1f447461d6d2adafa99e9fe14ad7232560a66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 23 Mar 2016 21:15:27 +0100 Subject: Ctrl: loading methods are protected --- core/src/ch/asynk/rustanddust/game/Ctrl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/ch/asynk/rustanddust/game/Ctrl.java b/core/src/ch/asynk/rustanddust/game/Ctrl.java index 53cc970..4836b19 100644 --- a/core/src/ch/asynk/rustanddust/game/Ctrl.java +++ b/core/src/ch/asynk/rustanddust/game/Ctrl.java @@ -118,18 +118,18 @@ public abstract class Ctrl implements Disposable // JSON - public boolean isLoading() + protected boolean isLoading() { return (stateType == StateType.LOADING); } - public void load(Marshal.Mode mode, String payload) + protected void load(Marshal.Mode mode, String payload) { JsonValue root = new JsonReader().parse(payload); battle.load(mode, root); } - public String unload(Marshal.Mode mode) + protected String unload(Marshal.Mode mode) { Json json = new Json(OutputType.json); writer.getBuffer().setLength(0); -- cgit v1.1-2-g2b99