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); }