Exemplo n.º 1
0
    public void cbStartLocalSelection(Object tar, params object[] args)
    {
        DraftController.DraftAction curDraftStep = DraftController.Get().GetNextDraftPhaseStep();

        if (curDraftStep.draftactionType == DraftController.DraftAction.DRAFTACTIONTYPE.BAN)
        {
            txtDraftPrompt.text = string.Format("Ban a character for Player {0}", curDraftStep.iPlayer);
        }
        else if (curDraftStep.draftactionType == DraftController.DraftAction.DRAFTACTIONTYPE.DRAFT)
        {
            txtDraftPrompt.text = string.Format("Draft a character for Player {0}", curDraftStep.iPlayer);
        }
    }
Exemplo n.º 2
0
    public void cbStartForeignSelection(Object tar, params object[] args)
    {
        DraftController.DraftAction curDraftStep = DraftController.Get().GetNextDraftPhaseStep();

        if (curDraftStep.draftactionType == DraftController.DraftAction.DRAFTACTIONTYPE.BAN)
        {
            txtDraftPrompt.text = string.Format("Waiting for Player {0} to ban", curDraftStep.iPlayer);
        }
        else if (curDraftStep.draftactionType == DraftController.DraftAction.DRAFTACTIONTYPE.DRAFT)
        {
            txtDraftPrompt.text = string.Format("Waiting for Player {0} to draft", curDraftStep.iPlayer);
        }
    }