Class LocalRandomIntProperty
java.lang.Object
dev.prozilla.pine.common.property.random.RandomProperty<Integer>
dev.prozilla.pine.common.property.random.RandomIntProperty
dev.prozilla.pine.common.property.random.LocalRandomIntProperty
- All Implemented Interfaces:
IntProperty,NonNullProperty<Integer>,Property<Integer>,Functor<Integer>
-
Field Summary
FieldsFields inherited from class dev.prozilla.pine.common.property.random.RandomIntProperty
max, minFields inherited from class dev.prozilla.pine.common.property.random.RandomProperty
globalRandom -
Constructor Summary
ConstructorsConstructorDescriptionLocalRandomIntProperty(int min, int max) LocalRandomIntProperty(Vector2i bounds) -
Method Summary
Methods inherited from class dev.prozilla.pine.common.property.random.RandomIntProperty
getMethods inherited from class dev.prozilla.pine.common.property.random.RandomProperty
setGlobalSeed, setSeedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.prozilla.pine.common.property.IntProperty
getValue, getValueOr, has, hasProperty, isZeroProperty, map, replaceNull, requireValueMethods inherited from interface dev.prozilla.pine.common.property.NonNullProperty
isNotNull, isNotNullPropertyMethods inherited from interface dev.prozilla.pine.common.property.Property
hasValue, hasValueProperty, isNull, map, snapshot, toStringProperty
-
Field Details
-
localRandom
-
-
Constructor Details
-
LocalRandomIntProperty
-
LocalRandomIntProperty
public LocalRandomIntProperty(int min, int max)
-
-
Method Details
-
getRandom
Description copied from class:RandomPropertyReturns the random number generator of this property.- Overrides:
getRandomin classRandomProperty<Integer>- Returns:
- The random number generator of this property.
-