Dominion.PlayerCircle.this C# (CSharp) Method

this() public method

public this ( int index ) : PlayerState
index int
return PlayerState
        public PlayerState this[int index]
        {
            get
            {
                if (index < 0)
                    index += this.players.Length;

                int playerIndex = (this.currentPlayerIndex + index) % this.players.Length;
                return players[playerIndex];
            }
        }