|
Gridarta Editor
|
Collection of all smoothing information. More...
Inheritance diagram for net.sf.gridarta.model.smoothface.SmoothFaces:
Collaboration diagram for net.sf.gridarta.model.smoothface.SmoothFaces:Public Member Functions | |
| void | add (@NotNull final SmoothFace smoothFace) throws DuplicateSmoothFaceException |
| Adds a SmoothFace instance. More... | |
| FaceObject | getSmoothFace (@NotNull final GameObject<?, ?, ?> gameObject) |
| Returns the smooth faces for a GameObject. More... | |
| Iterator< Map.Entry< String, SmoothFace > > | iterator () |
| SmoothFaces (@NotNull final FaceObjects faceObjects) | |
| Creates a new instance. More... | |
Private Attributes | |
| final FaceObjects | faceObjects |
| The FaceObjects for looking up faces. More... | |
| final Map< String, SmoothFace > | smoothFaces = new TreeMap<>() |
| The defined SmoothFaces. More... | |
Collection of all smoothing information.
Definition at line 36 of file SmoothFaces.java.
| net.sf.gridarta.model.smoothface.SmoothFaces.SmoothFaces | ( | @NotNull final FaceObjects | faceObjects | ) |
Creates a new instance.
| faceObjects | the face objects for looking up faces |
Definition at line 54 of file SmoothFaces.java.
References net.sf.gridarta.model.smoothface.SmoothFaces.faceObjects.
| void net.sf.gridarta.model.smoothface.SmoothFaces.add | ( | @NotNull final SmoothFace | smoothFace | ) | throws DuplicateSmoothFaceException |
Adds a SmoothFace instance.
| smoothFace | the smooth face instance |
| DuplicateSmoothFaceException | if the smooth face is not unique |
Definition at line 63 of file SmoothFaces.java.
References net.sf.gridarta.model.smoothface.SmoothFace.getValue().
Referenced by net.sf.gridarta.var.crossfire.model.io.ArchetypeParser.processLine().
Here is the call graph for this function:
Here is the caller graph for this function:| FaceObject net.sf.gridarta.model.smoothface.SmoothFaces.getSmoothFace | ( | @NotNull final GameObject<?, ?, ?> | gameObject | ) |
Returns the smooth faces for a GameObject.
| gameObject | the game object |
Definition at line 83 of file SmoothFaces.java.
References net.sf.gridarta.model.data.NamedObjects< E extends NamedObject >.get(), net.sf.gridarta.model.face.FaceObject.getFaceName(), and net.sf.gridarta.model.smoothface.SmoothFace.getValue().
Referenced by net.sf.gridarta.var.crossfire.gui.map.renderer.SmoothingRenderer.paintSmooth().
Here is the call graph for this function:
Here is the caller graph for this function:| Iterator<Map.Entry<String, SmoothFace> > net.sf.gridarta.model.smoothface.SmoothFaces.iterator | ( | ) |
Definition at line 100 of file SmoothFaces.java.
|
private |
The FaceObjects for looking up faces.
Definition at line 48 of file SmoothFaces.java.
Referenced by net.sf.gridarta.model.smoothface.SmoothFaces.SmoothFaces().
|
private |
The defined SmoothFaces.
Definition at line 42 of file SmoothFaces.java.