1 package net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.subcomponent;
3 import com.google.gson.JsonObject;
5 import net.mograsim.logic.model.snippets.HighLevelStateHandler;
7 public interface SubcomponentHighLevelStateHandler
10 * Gets the current value of the given high level state of the subcomponent represented by this SubcomponentHighLevelStateHandler.<br>
11 * See {@link HighLevelStateHandler} for an explanation of high-level state IDs.
13 * @author Daniel Kirschten
15 public Object getHighLevelState(String subStateID);
18 * Sets the given high level state of the subcomponent represented by this SubcomponentHighLevelStateHandler to the given value.<br>
19 * See {@link HighLevelStateHandler} for an explanation of high-level state IDs.
21 * @author Daniel Kirschten
23 public void setHighLevelState(String subStateID, Object newState);
25 public static class SubcomponentHighLevelStateHandlerParams
28 public JsonObject params;