public void ChangeTurn()
        {
            var action = new ChangeTurnAction(1 - Container.Match.CurrentPlayerIndex);

            if (Container.GetSystem <ActionSystem>().IsActive)
            {
                Container.AddReaction(action);
            }
            else
            {
                Container.Perform(action);
            }
        }
Exemple #2
0
    public void ChangeTurn(int index)
    {
        var action = new ChangeTurnAction(index);

        container.Perform(action);
    }
Exemple #3
0
        public void ChangeTurn(byte nextPlayerIndex)
        {
            var action = new ChangeTurnAction(nextPlayerIndex);

            Container.Perform(action);
        }