Class SmoothFaces


  • public class SmoothFaces
    extends java.lang.Object
    Maintains smoothing information received from the Crossfire server.
    • Constructor Summary

      Constructors 
      Constructor Description
      SmoothFaces()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getSmoothFace​(int face)
      Returns the smoothing face associated with a given face.
      void updateSmoothFace​(int face, int smoothFace)
      Updates smooth face information.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SmoothFaces

        public SmoothFaces()
    • Method Detail

      • getSmoothFace

        public int getSmoothFace​(int face)
        Returns the smoothing face associated with a given face.
        Parameters:
        face - the face
        Returns:
        the smoothing face or 0
      • updateSmoothFace

        public void updateSmoothFace​(int face,
                                     int smoothFace)
        Updates smooth face information.
        Parameters:
        face - the face number
        smoothFace - the face number of the corresponding smooth face