Class AbstractFaceObjects

    • Constructor Detail

      • AbstractFaceObjects

        protected AbstractFaceObjects​(@NotNull
                                      @NotNull java.lang.String name)
        Creates a new instance.
        Parameters:
        name - localized name of the object type, e.g. used in dialogs
    • Method Detail

      • addFaceObject

        public void addFaceObject​(@NotNull
                                  @NotNull java.lang.String faceName,
                                  @NotNull
                                  @NotNull java.lang.String originalFilename,
                                  int offset,
                                  int size)
                           throws DuplicateFaceException,
                                  IllegalFaceException
        Description copied from interface: FaceObjects
        Adds a new face object.
        Specified by:
        addFaceObject in interface FaceObjects
        Parameters:
        faceName - the name of the face, e.g. "robe.101"
        originalFilename - the original filename, e.g. "arch/objects/misc/robe.101.png"
        offset - the offset in the file denoted by actualFilename, e.g. 148676
        size - the size in the file denoted by actualFilename, e.g. 567,
        Throws:
        DuplicateFaceException - in case the face was not unique
        IllegalFaceException - if the face cannot be added