Edytuj

Udostępnij za pośrednictwem


IGKGameModelUpdate Interface

Definition

A valid game move. The minimal data necessary to transition a valid IGKGameModel into a valid subsequent state.

[Foundation.Protocol(Name="GKGameModelUpdate", WrapperType=typeof(GameplayKit.GKGameModelUpdateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface IGKGameModelUpdate : IDisposable, ObjCRuntime.INativeObject
type IGKGameModelUpdate = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Remarks

Developers should strive to make their implementations of this interface efficient. A large number of IGKGameModelUpdate objects are likely to be produced by GetGameModelUpdates(IGKGameModelPlayer) which, in return, is likely to be called many times by GetBestMove(IGKGameModelPlayer).

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Value

Equivalent to the value produced by GetScore(IGKGameModel, IGKGameModelPlayer).

Applies to