Editar

Compartilhar via


IGKStrategist Interface

Definition

Interface for a game strategist (AI).

[Foundation.Protocol(Name="GKStrategist", WrapperType=typeof(GameplayKit.GKStrategistWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 1, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IGKStrategist : IDisposable, ObjCRuntime.INativeObject
type IGKStrategist = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

GameModel

Gets or sets the current game state.

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
RandomSource

Gets or sets the source of randomness for the strategist.

Methods

GetBestMoveForActivePlayer()

Returns what the strategist indicates is the best move for the active player.

Applies to