Bearbeiten

Freigeben über


GKMinMaxStrategist.GameModel Property

Definition

The IGKGameModel representing the current state of the game.

[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.IGKGameModel GameModel { [Foundation.Export("gameModel", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setGameModel:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.GameModel : GameplayKit.IGKGameModel with get, set

Property Value

Implements

Attributes

Remarks

Developers must set this value for GetBestMove(IGKGameModelPlayer) to return something other than null.

Developers must not rely on this property as the only reference to their IGKGameModel. Developers must hold their own reference to the IGKGameModel or it may be garbage collected.

Applies to