package net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.subcomponent;
-import com.google.gson.JsonObject;
+import com.google.gson.JsonElement;
+import net.mograsim.logic.model.serializing.JSONSerializable;
import net.mograsim.logic.model.snippets.HighLevelStateHandler;
-public interface SubcomponentHighLevelStateHandler
+public interface SubcomponentHighLevelStateHandler extends JSONSerializable
{
/**
* Gets the current value of the given high level state of the subcomponent represented by this SubcomponentHighLevelStateHandler.<br>
public static class SubcomponentHighLevelStateHandlerParams
{
public String id;
- public JsonObject params;
+ public JsonElement params;
}
}
\ No newline at end of file