Example #1
0
    Deck InstallDeck()
    {
        var cardParser   = new BasicCardParser();
        var cardFactory  = new CardFactory(cardAnchor);
        var cardImporter = new CardImporter(cardParser);

        return(new Deck(cardImporter.Import(), cardFactory));
    }
Example #2
0
 void OnMatchStarted(GameMessage msg)
 {
     CardImporter.Import();
     CreateCard();
 }