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

    public void unload(Mode mode, Json json);

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