public class InteractiveControlAdapter extends Object implements com.google.gson.JsonSerializer<InteractiveControl>, com.google.gson.JsonDeserializer<InteractiveControl>
InteractiveControls into their appropriate subclasses.ButtonControl,
JoystickControl| Constructor and Description |
|---|
InteractiveControlAdapter() |
| Modifier and Type | Method and Description |
|---|---|
InteractiveControl |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(InteractiveControl src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public InteractiveControl deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)
deserialize in interface com.google.gson.JsonDeserializer<InteractiveControl>public com.google.gson.JsonElement serialize(InteractiveControl src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize in interface com.google.gson.JsonSerializer<InteractiveControl>Copyright © 2018. All rights reserved.