public class FaceObjectsCollectable extends java.lang.Object implements Collectable
Collectable
that creates the atrinik.0/crossfire.0/daimonin.0 files
which contains all defined faces. It also creates index or editor helper
files such as bmaps or bmaps.paths.Constructor and Description |
---|
FaceObjectsCollectable(@NotNull FaceObjects faceObjects,
@NotNull ArchFaceProvider archFaceProvider)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
collect(@NotNull net.sf.japi.swing.misc.Progress progress,
@NotNull java.io.File collectedDirectory)
Collects information.
|
public FaceObjectsCollectable(@NotNull @NotNull FaceObjects faceObjects, @NotNull @NotNull ArchFaceProvider archFaceProvider)
faceObjects
- the face objects to collectarchFaceProvider
- the arch face provider to usepublic void collect(@NotNull @NotNull net.sf.japi.swing.misc.Progress progress, @NotNull @NotNull java.io.File collectedDirectory) throws java.io.IOException
Theoretically it would also be possible to recode the images. But the Java image encoder isn't as good as that of gimp in many cases (yet much better as the old visualtek's).
collect
in interface Collectable
progress
- the progress to report progress tocollectedDirectory
- the destination directory to collect data tojava.io.IOException
- in case of I/O problems during collection