Interface EngineResourceGenerator
public interface EngineResourceGenerator
Describes an object to instantiate at engine startup that generates resources on startup.
Classes that implement this are instantiated at resource time to create resources, and cannot be an EngineElement.
The constructor for this class must be a default constructor.
The Ordering annotation can influence invocation order on this type of object.
- Author:
- Matthew Tropiano
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateResources(EngineLoggingFactory.Logger logger, EngineFileSystem fileSystem, EngineResourceSet resources) Called when resources are needed to be created, before the first set of resources are built from the resource definitions.
-
Method Details
-
createResources
void createResources(EngineLoggingFactory.Logger logger, EngineFileSystem fileSystem, EngineResourceSet resources) Called when resources are needed to be created, before the first set of resources are built from the resource definitions.- Parameters:
logger- a logger passed to this for logging output.fileSystem- the engine file system to use for generation.resources- the resource bank to add to.
-