summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/util/Marshal.java
blob: 513c87b0f3f23b7618d7d8fa6154597a997be197 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);
}