Esempio n. 1
0
    public string Run()
    {
        _state.Turn++;

        string action = "";

        if (_state.GameMode == GameMode.Draft)
        {
            var draft = new Draft(_gameDeck, _state, _stopwatch);
            action = draft.Command();
        }
        else if (_state.GameMode == GameMode.Battle)
        {
            var battle = new Battle(_playerMana, _gameDeck, _stopwatch);
            action = battle.Command();
        }

        return(action);
    }