Compartilhar via


GKMinMaxStrategist.RandomSource Propriedade

Definição

Usado para quebrar laços entre movimentos e GetBestMove(IGKGameModelPlayer) para escolher um movimento em 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

Valor da propriedade

(Mais documentação para este nó está chegando)

Este valor pode ser null.

Implementações

Atributos

Aplica-se a