Class SmoothFacesCollectable
- java.lang.Object
-
- net.sf.gridarta.model.collectable.SmoothFacesCollectable
-
- All Implemented Interfaces:
Collectable
public class SmoothFacesCollectable extends java.lang.Object implements Collectable
ACollectablethat creates the Crossfire specific smooth faces file. This file contains information needed for smoothing faces between adjacent map squares.
-
-
Constructor Summary
Constructors Constructor Description SmoothFacesCollectable(@NotNull SmoothFaces smoothFaces, @NotNull java.lang.String smoothFile)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
-
SmoothFacesCollectable
public SmoothFacesCollectable(@NotNull @NotNull SmoothFaces smoothFaces, @NotNull @NotNull java.lang.String smoothFile)Creates a new instance.- Parameters:
smoothFaces- the smooth faces to collectsmoothFile- the smooth file to write to
-
-
Method Detail
-
collect
public void collect(@NotNull @NotNull net.sf.japi.swing.misc.Progress progress, @NotNull @NotNull java.io.File collectedDirectory) throws java.io.IOExceptionDescription copied from interface:CollectableCollects information.- 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
-
-