Düzenle

Aracılığıyla paylaş


IGKGameModel.GetGameModelUpdates(IGKGameModelPlayer) Method

Definition

The set of legal moves available to the player who's GetPlayerId(IGKGameModelPlayer) value is the same as that of player.

[Foundation.Export("gameModelUpdatesForPlayer:")]
[Foundation.Preserve(Conditional=true)]
public GameplayKit.IGKGameModelUpdate[] GetGameModelUpdates (GameplayKit.IGKGameModelPlayer player);
abstract member GetGameModelUpdates : GameplayKit.IGKGameModelPlayer -> GameplayKit.IGKGameModelUpdate[]

Parameters

Returns

Attributes

Remarks

The GKMinMaxStrategist may allocate many IGKGameModelPlayer objects with identical GetPlayerId(IGKGameModelPlayer) values. When comparing IGKGameModelPlayer instances, developers should rely on GetPlayerId(IGKGameModelPlayer) values, not reference equality.

Applies to