Instance Property

activePlayer

The player whose turn it currently is in the game.

Required.

Declaration

@property(nonatomic, readonly) id<GKGameModelPlayer> activePlayer;

Discussion

This player is responsible for the next move. GameplayKit assumes that the next call to the applyGameModelUpdate: method will perform a move on behalf of this player.

See Also

Keeping Track of Players

players

The players currently in the game.

Required.