GKMinMaxStrategist.RandomSource Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used to break ties among moves in GetBestMove(IGKGameModelPlayer) and to choose a move in GetRandomMove(IGKGameModelPlayer, nint).
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 1, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual GameplayKit.IGKRandom RandomSource { [Foundation.Export("randomSource", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setRandomSource:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.RandomSource : GameplayKit.IGKRandom with get, set
Property Value
(More documentation for this node is coming)
This value can be null
.
Implements
- Attributes