public interface LevelProviderFactory
| Modifier and Type | Method and Description |
|---|---|
LevelProvider |
create(String levelId,
Path levelsPath,
Executor executor)
Creates new provider
|
boolean |
isCompatible(String levelId,
Path levelsPath)
Checks if level provider is compatible with directory given
|
LevelProvider create(String levelId, Path levelsPath, Executor executor) throws IOException
levelId - level IDlevelsPath - path of the levels directory (NOT THE LEVEL DIRECTORY ITSELF)executor - executor to run tasks asyncIOException - error created providerCopyright © 2020. All rights reserved.