Class DialogStateParser
java.lang.Object
com.realtime.crossfire.jxclient.window.DialogStateParser
Utility class to store or restore the dialog states to/from a file.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidload(@NotNull JXCSkin skin, @NotNull JXCWindowRenderer windowRenderer) Loads the dialogs state from a file.static voidsave(@NotNull JXCSkin skin, @NotNull JXCWindowRenderer windowRenderer) Saves the dialogs state to a file.
-
Method Details
-
load
public static void load(@NotNull @NotNull JXCSkin skin, @NotNull @NotNull JXCWindowRenderer windowRenderer) Loads the dialogs state from a file.- Parameters:
skin- the skin to updatewindowRenderer- the window renderer instance to attach to
-
save
public static void save(@NotNull @NotNull JXCSkin skin, @NotNull @NotNull JXCWindowRenderer windowRenderer) Saves the dialogs state to a file.- Parameters:
skin- the skin to updatewindowRenderer- the window renderer instance to attach to
-