Class ImageCreatorFactory


  • public class ImageCreatorFactory
    extends java.lang.Object
    Utility class for creating ImageCreator instances.
    • Method Detail

      • newImageCreator

        @NotNull
        public static <G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>> @NotNull ImageCreator<G,​A,​R> newImageCreator​(@NotNull
                                                                                                                                                                                                       @NotNull ResourceIcons resourceIcons,
                                                                                                                                                                                                       @NotNull
                                                                                                                                                                                                       @NotNull EditorFactory<G,​A,​R> editorFactory,
                                                                                                                                                                                                       @NotNull
                                                                                                                                                                                                       @NotNull ProjectModel<G,​A,​R> projectModel,
                                                                                                                                                                                                       @NotNull
                                                                                                                                                                                                       @NotNull EditorSettings editorSettings)
        Creates a new ImageCreator instance.
        Parameters:
        resourceIcons - the resource icons for creating icons
        editorFactory - the editor factory to use
        projectModel - the project model to use
        editorSettings - the global editor settings instance
        Returns:
        the new instance