public class SmoothFacesCollectable extends java.lang.Object implements Collectable
Collectable
that creates the Crossfire specific smooth faces file.
This file contains information needed for smoothing faces between adjacent
map squares.Constructor and Description |
---|
SmoothFacesCollectable(SmoothFaces smoothFaces,
java.lang.String smoothFile)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
collect(net.sf.japi.swing.misc.Progress progress,
java.io.File collectedDirectory)
Collects information.
|
public SmoothFacesCollectable(@NotNull SmoothFaces smoothFaces, @NotNull java.lang.String smoothFile)
smoothFaces
- the smooth faces to collectsmoothFile
- the smooth file to write topublic void collect(@NotNull net.sf.japi.swing.misc.Progress progress, @NotNull java.io.File collectedDirectory) throws java.io.IOException
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