Class LocalRandomFloatProperty

All Implemented Interfaces:
FloatProperty, NonNullProperty<Float>, Property<Float>, Functor<Float>

public class LocalRandomFloatProperty extends RandomFloatProperty
  • Field Details

    • localRandom

      protected Random localRandom
  • Constructor Details

    • LocalRandomFloatProperty

      public LocalRandomFloatProperty(Vector2f bounds)
    • LocalRandomFloatProperty

      public LocalRandomFloatProperty(float min, float max)
  • Method Details

    • getRandom

      protected Random getRandom()
      Description copied from class: RandomProperty
      Returns the random number generator of this property.
      Overrides:
      getRandom in class RandomProperty<Float>
      Returns:
      The random number generator of this property.