Class BoostAttributeImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private float boost  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()
      Clears the values in this AttributeImpl and resets it to its default value.
      void copyTo​(AttributeImpl target)
      Copies the values from this Attribute into the passed-in target attribute.
      float getBoost()
      Retrieves the boost, default is 1.0f.
      void reflectWith​(AttributeReflector reflector)
      This method is for introspection of attributes, it should simply add the key/values this attribute holds to the given AttributeReflector.
      void setBoost​(float boost)
      Sets the boost in this attribute
      • Methods inherited from class java.lang.Object

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

      • boost

        private float boost
    • Constructor Detail

      • BoostAttributeImpl

        public BoostAttributeImpl()