summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-23 21:15:27 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-23 21:15:33 +0100
commit1ce1f447461d6d2adafa99e9fe14ad7232560a66 (patch)
tree161f068253dd018043bdc66da136c5b265aeddd5 /core/src
parent90cd568cac97af9dba5fdcadcae68ebc533616fc (diff)
downloadRustAndDust-1ce1f447461d6d2adafa99e9fe14ad7232560a66.zip
RustAndDust-1ce1f447461d6d2adafa99e9fe14ad7232560a66.tar.gz
Ctrl: loading methods are protected
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/rustanddust/game/Ctrl.java6
1 files 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);