public class CollectedConfigSource extends AbstractConfigSource
AbstractConfigSource
that reads collected files for Crossfire.Constructor and Description |
---|
CollectedConfigSource() |
Modifier and Type | Method and Description |
---|---|
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(ProjectSettings projectSettings,
AbstractResources<G,A,R> resources,
ErrorView errorView)
Reads config files.
|
getFile, toString
@NotNull public java.lang.String getName()
public <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> void read(@NotNull ProjectSettings projectSettings, @NotNull AbstractResources<G,A,R> resources, @NotNull ErrorView errorView)
projectSettings
- the project settings to useresources
- the resources to updateerrorView
- the error view for reporting errorspublic boolean isArchDirectoryInputFieldEnabled()