Class FaceObjectsCollectable
- java.lang.Object
-
- net.sf.gridarta.model.collectable.FaceObjectsCollectable
-
- All Implemented Interfaces:
Collectable
public class FaceObjectsCollectable extends java.lang.Object implements Collectable
ACollectablethat 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 Summary
Constructors Constructor Description FaceObjectsCollectable(@NotNull FaceObjects faceObjects, @NotNull ArchFaceProvider archFaceProvider)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollect(@NotNull net.sf.japi.swing.misc.Progress progress, @NotNull java.io.File collectedDirectory)Collects information.
-
-
-
Constructor Detail
-
FaceObjectsCollectable
public FaceObjectsCollectable(@NotNull @NotNull FaceObjects faceObjects, @NotNull @NotNull ArchFaceProvider archFaceProvider)Creates a new instance.- Parameters:
faceObjects- the face objects to collectarchFaceProvider- the arch face provider to use
-
-
Method Detail
-
collect
public void collect(@NotNull @NotNull net.sf.japi.swing.misc.Progress progress, @NotNull @NotNull java.io.File collectedDirectory) throws java.io.IOExceptionCollects information. Collects the faces. The graphics information is written to "crossfire.0" resp. "daimonin.0". The meta information (offsets etc.) is written to "bmaps". The tree information for the editor is written to "bmaps.paths" resp. "facetree".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).
- Specified by:
collectin interfaceCollectable- Parameters:
progress- the progress to report progress tocollectedDirectory- the destination directory to collect data to- Throws:
java.io.IOException- in case of I/O problems during collection
-
-