Package org.robovm.apple.gameplaykit
Class GKGaussianDistribution
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.gameplaykit.GKRandomDistribution
-
- org.robovm.apple.gameplaykit.GKGaussianDistribution
-
- All Implemented Interfaces:
NSObjectProtocol
,GKRandom
,org.robovm.objc.ObjCProtocol
public class GKGaussianDistribution extends GKRandomDistribution
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GKGaussianDistribution.GKGaussianDistributionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.gameplaykit.GKRandomDistribution
GKRandomDistribution.GKRandomDistributionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description GKGaussianDistribution()
protected
GKGaussianDistribution(NSObject.Handle h, long handle)
protected
GKGaussianDistribution(NSObject.SkipInit skipInit)
GKGaussianDistribution(GKRandom source, float mean, float deviation)
GKGaussianDistribution(GKRandom source, long lowestInclusive, long highestInclusive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getDeviation()
float
getMean()
protected long
init(GKRandom source, float mean, float deviation)
protected long
init(GKRandom source, long lowestInclusive, long highestInclusive)
-
Methods inherited from class org.robovm.apple.gameplaykit.GKRandomDistribution
create, d20, d6, die, getHighestValue, getLowestValue, getNumberOfPossibleOutcomes, nextBool, nextInt, nextInt, nextUniform
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
GKGaussianDistribution
public GKGaussianDistribution()
-
GKGaussianDistribution
protected GKGaussianDistribution(NSObject.Handle h, long handle)
-
GKGaussianDistribution
protected GKGaussianDistribution(NSObject.SkipInit skipInit)
-
GKGaussianDistribution
public GKGaussianDistribution(GKRandom source, long lowestInclusive, long highestInclusive)
-
GKGaussianDistribution
public GKGaussianDistribution(GKRandom source, float mean, float deviation)
-
-
Method Detail
-
getMean
public float getMean()
-
getDeviation
public float getDeviation()
-
init
protected long init(GKRandom source, long lowestInclusive, long highestInclusive)
- Overrides:
init
in classGKRandomDistribution
-
init
protected long init(GKRandom source, float mean, float deviation)
-
-