|
Gridarta Editor
|
FaceObjects is a container for FaceObjects. More...
Inheritance diagram for net.sf.gridarta.model.face.FaceObjects:
Collaboration diagram for net.sf.gridarta.model.face.FaceObjects:Public Member Functions | |
| void | addFaceObject (String faceName, String originalFilename, int offset, int size) throws DuplicateFaceException, IllegalFaceException |
| Adds a new face object. More... | |
| boolean | isIncludeFaceNumbers () |
| Returns whether the images file contains face numbers. More... | |
| FaceProvider | loadFacesCollection (@NotNull ErrorView errorView, @NotNull File collectedDirectory) |
| Loads all faces from a png collection file. More... | |
Public Member Functions inherited from net.sf.gridarta.model.data.NamedObjects< E extends NamedObject > | |
| boolean | containsKey (@NotNull String name) |
| Check whether an object is defined. More... | |
| E | get (@NotNull String objectName) |
| Gets a AbstractNamedObject. More... | |
| String | getName () |
| Returns the tree name. More... | |
| NamedTreeNode< E > | getTreeRoot () |
| Get the object tree root. More... | |
| Iterator< E > | iterator () |
| NamedObjects are iterated in Unicode (=case sensitive ASCII) order. More... | |
| int | size () |
| Get the number of objects. More... | |
FaceObjects is a container for FaceObjects.
Definition at line 31 of file FaceObjects.java.
| void net.sf.gridarta.model.face.FaceObjects.addFaceObject | ( | String | faceName, |
| String | originalFilename, | ||
| int | offset, | ||
| int | size | ||
| ) | throws DuplicateFaceException, IllegalFaceException |
Adds a new face object.
| faceName | the name of the face, e.g. <samp>"robe.101"</samp> |
| originalFilename | the original filename, e.g. <samp>"arch/objects/misc/robe.101.png"</samp> |
| offset | the offset in the file denoted by actualFilename |
| size | the size in the file denoted by actualFilename |
| DuplicateFaceException | in case the face was not unique |
| IllegalFaceException | if the face cannot be added |
Referenced by net.sf.gridarta.model.resource.AbstractResourcesReader< G >.addPNGFace().
Here is the caller graph for this function:| boolean net.sf.gridarta.model.face.FaceObjects.isIncludeFaceNumbers | ( | ) |
Returns whether the images file contains face numbers.
Implemented in net.sf.gridarta.model.face.DefaultFaceObjects, and net.sf.gridarta.model.face.TestFaceObjects.
| FaceProvider net.sf.gridarta.model.face.FaceObjects.loadFacesCollection | ( | @NotNull ErrorView | errorView, |
| @NotNull File | collectedDirectory | ||
| ) |
Loads all faces from a png collection file.
| errorView | the error view for reporting errors |
| collectedDirectory | directory to load from |
Implemented in net.sf.gridarta.model.face.DefaultFaceObjects, and net.sf.gridarta.model.face.TestFaceObjects.
Referenced by net.sf.gridarta.model.resource.AbstractCollectedResourcesReader< GameObject, MapArchObject, Archetype >.loadFacesCollection().
Here is the caller graph for this function: