Class LocalRandomIntProperty

All Implemented Interfaces:
IntProperty, NonNullProperty<Integer>, Property<Integer>, Functor<Integer>

public class LocalRandomIntProperty extends RandomIntProperty
  • Field Details

    • localRandom

      protected Random localRandom
  • Constructor Details

    • LocalRandomIntProperty

      public LocalRandomIntProperty(Vector2i bounds)
    • LocalRandomIntProperty

      public LocalRandomIntProperty(int min, int 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<Integer>
      Returns:
      The random number generator of this property.