public class CollectedConfigSource extends AbstractConfigSource
AbstractConfigSource that reads collected files for Crossfire.| Constructor and Description |
|---|
CollectedConfigSource() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.lang.String |
getName()
Returns the internal name.
|
boolean |
isArchDirectoryInputFieldEnabled()
Whether the "archetype directory" input field in the settings dialog
should be enabled.
|
<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
read(@NotNull ProjectSettings projectSettings,
@NotNull AbstractResources<G,A,R> resources,
@NotNull ErrorView errorView)
Reads config files.
|
getFile, toString@NotNull public @NotNull java.lang.String getName()
ConfigSourcepublic <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> void read(@NotNull @NotNull ProjectSettings projectSettings, @NotNull @NotNull AbstractResources<G,A,R> resources, @NotNull @NotNull ErrorView errorView)
ConfigSourceprojectSettings - the project settings to useresources - the resources to updateerrorView - the error view for reporting errorspublic boolean isArchDirectoryInputFieldEnabled()
ConfigSource