diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-21 12:02:32 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-21 12:02:32 +0100 |
commit | 677813e7fd80c3f9e3fd9b6db15046c1eea97b29 (patch) | |
tree | ff4649d90cfcecfed109cfe8bca47186450056c7 /core/src/ch/asynk/rustanddust | |
parent | d387eef4ef69c4c816a77fa1f828a904e7ea4f55 (diff) | |
download | RustAndDust-677813e7fd80c3f9e3fd9b6db15046c1eea97b29.zip RustAndDust-677813e7fd80c3f9e3fd9b6db15046c1eea97b29.tar.gz |
add util/Marshal
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r-- | core/src/ch/asynk/rustanddust/util/Marshal.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/util/Marshal.java b/core/src/ch/asynk/rustanddust/util/Marshal.java new file mode 100644 index 0000000..513c87b --- /dev/null +++ b/core/src/ch/asynk/rustanddust/util/Marshal.java @@ -0,0 +1,18 @@ +package ch.asynk.rustanddust.util; + +import com.badlogic.gdx.utils.Json; +import com.badlogic.gdx.utils.JsonValue; + +public interface Marshal +{ + public enum Mode + { + FULL, + STATE, + ORDERS + } + + public void unload(Mode mode, Json json); + + public void load(Mode mode, JsonValue value); +} |