public class TreasureLoader
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static @NotNull TreasureTree |
parseTreasures(@NotNull ErrorView errorView,
@NotNull java.util.Map<java.lang.String,TreasureTreeNode> specialTreasureLists,
@NotNull ConfigSource configSource,
@NotNull ProjectSettings projectSettings)
Parses a treasure file into a
TreasureTree instance. |
@NotNull public static @NotNull TreasureTree parseTreasures(@NotNull @NotNull ErrorView errorView, @NotNull @NotNull java.util.Map<java.lang.String,TreasureTreeNode> specialTreasureLists, @NotNull @NotNull ConfigSource configSource, @NotNull @NotNull ProjectSettings projectSettings)
TreasureTree
instance.errorView
- the error view to usespecialTreasureLists
- maps treasure list name to parent nodeconfigSource
- the config source to read fromprojectSettings
- the project settings to use