summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/util/Marshal.java
blob: f805fa1350687a98e76b82eafa56390fb40f9595 (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
    {
        PLAYERS,
        MAP,
        ORDERS,
    }

    public void unload(Mode mode, Json json);

    public void load(Mode mode, JsonValue value);
}