Edit

Share via


GKMinMaxStrategist.RandomSource Property

Definition

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

Applies to