|
Gridarta Editor
|
A Collectable that creates the Crossfire specific smooth faces file. More...
Inheritance diagram for net.sf.gridarta.model.collectable.SmoothFacesCollectable:
Collaboration diagram for net.sf.gridarta.model.collectable.SmoothFacesCollectable:Public Member Functions | |
| void | collect (@NotNull final Progress progress, @NotNull final File collectedDirectory) throws IOException |
| Collects information. More... | |
| SmoothFacesCollectable (@NotNull final SmoothFaces smoothFaces, @NotNull final String smoothFile) | |
| Creates a new instance. More... | |
Private Attributes | |
| final SmoothFaces | smoothFaces |
| The SmoothFaces being collected. More... | |
| final String | smoothFile |
| The smooth file to write to. More... | |
A Collectable that creates the Crossfire specific smooth faces file.
This file contains information needed for smoothing faces between adjacent map squares.
Definition at line 41 of file SmoothFacesCollectable.java.
| net.sf.gridarta.model.collectable.SmoothFacesCollectable.SmoothFacesCollectable | ( | @NotNull final SmoothFaces | smoothFaces, |
| @NotNull final String | smoothFile | ||
| ) |
Creates a new instance.
| smoothFaces | the smooth faces to collect |
| smoothFile | the smooth file to write to |
Definition at line 60 of file SmoothFacesCollectable.java.
References net.sf.gridarta.model.collectable.SmoothFacesCollectable.smoothFaces, and net.sf.gridarta.model.collectable.SmoothFacesCollectable.smoothFile.
| void net.sf.gridarta.model.collectable.SmoothFacesCollectable.collect | ( | @NotNull final Progress | progress, |
| @NotNull final File | collectedDirectory | ||
| ) | throws IOException |
Collects information.
| progress | the progress to report progress to |
| collectedDirectory | the destination directory to collect data to |
| IOException | in case of I/O problems during collection |
Implements net.sf.gridarta.model.collectable.Collectable.
Definition at line 66 of file SmoothFacesCollectable.java.
References net.sf.gridarta.model.smoothface.SmoothFace.getFace(), net.sf.gridarta.model.smoothface.SmoothFace.getValue(), and net.sf.gridarta.utils.IOUtils.MAP_ENCODING.
Here is the call graph for this function:
|
private |
The SmoothFaces being collected.
Definition at line 47 of file SmoothFacesCollectable.java.
Referenced by net.sf.gridarta.model.collectable.SmoothFacesCollectable.SmoothFacesCollectable().
|
private |
The smooth file to write to.
Definition at line 53 of file SmoothFacesCollectable.java.
Referenced by net.sf.gridarta.model.collectable.SmoothFacesCollectable.SmoothFacesCollectable().