GKMinMaxStrategist.RandomSource 属性

定义

用于在 中 GetBestMove(IGKGameModelPlayer) 断开移动之间的关联,以及选择 中的 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

属性值

(此节点的更多文档即将)

此值可为 null

实现

属性

适用于