Class CharacterManager.StringWidthProcessor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private float maxWidth  
      private int position  
    • Constructor Summary

      Constructors 
      Constructor Description
      StringWidthProcessor​(float p_i232248_2_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(int p_accept_1_, Style p_accept_2_, int p_accept_3_)  
      int getPosition()  
      void resetPosition()  
      • Methods inherited from class java.lang.Object

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

      • maxWidth

        private float maxWidth
      • position

        private int position
    • Constructor Detail

      • StringWidthProcessor

        public StringWidthProcessor​(float p_i232248_2_)
    • Method Detail

      • accept

        public boolean accept​(int p_accept_1_,
                              Style p_accept_2_,
                              int p_accept_3_)
        Specified by:
        accept in interface ICharacterConsumer
      • getPosition

        public int getPosition()
      • resetPosition

        public void resetPosition()