Class LocalRandomFloatProperty
java.lang.Object
dev.prozilla.pine.common.property.random.RandomProperty<Float>
dev.prozilla.pine.common.property.random.RandomFloatProperty
dev.prozilla.pine.common.property.random.LocalRandomFloatProperty
- All Implemented Interfaces:
FloatProperty,NonNullProperty<Float>,Property<Float>,Functor<Float>
-
Field Summary
FieldsFields inherited from class dev.prozilla.pine.common.property.random.RandomFloatProperty
max, minFields inherited from class dev.prozilla.pine.common.property.random.RandomProperty
globalRandom -
Constructor Summary
ConstructorsConstructorDescriptionLocalRandomFloatProperty(float min, float max) LocalRandomFloatProperty(Vector2f bounds) -
Method Summary
Methods inherited from class dev.prozilla.pine.common.property.random.RandomFloatProperty
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.FloatProperty
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
-
LocalRandomFloatProperty
-
LocalRandomFloatProperty
public LocalRandomFloatProperty(float min, float max)
-
-
Method Details
-
getRandom
Description copied from class:RandomPropertyReturns the random number generator of this property.- Overrides:
getRandomin classRandomProperty<Float>- Returns:
- The random number generator of this property.
-