GKMinMaxStrategist.RandomSource 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
用來在 中的 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
。
實作
- 屬性