Esempio n. 1
0
        /****************************************************************************************************/
        /*  Constructor                                                                                     */
        /****************************************************************************************************/
        public Game(IGameFactory factory)
        {
            FaceupCharacters = new List<Character>();

            Players = factory.GetPlayers();
            PropertyChanged += factory.GetPropertyChanged();
            Characters = factory.GetCharacters();
            _characterPile = new List<Character>(Characters);
            _pile = factory.GetPile();
            _discardStrategy = factory.GetDiscardStrategy();

            OnStep();
            King = Players[0];
        }