1 package net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.atomic;
3 import com.google.gson.JsonElement;
5 import net.mograsim.logic.model.serializing.JSONSerializable;
6 import net.mograsim.logic.model.snippets.HighLevelStateHandler;
8 public interface AtomicHighLevelStateHandler extends JSONSerializable
11 * Gets the current value of the atomic high level state represented by this AtomicHighLevelStateHandler.<br>
12 * See {@link HighLevelStateHandler} for an explanation of high-level state IDs.
14 * @author Daniel Kirschten
16 public Object getHighLevelState();
19 * Sets the atomic high level state represented by this AtomicHighLevelStateHandler to the given value.<br>
20 * See {@link HighLevelStateHandler} for an explanation of high-level state IDs.
22 * @author Daniel Kirschten
24 public void setHighLevelState(Object newState);
26 public static class AtomicHighLevelStateHandlerParams
29 public JsonElement params;