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

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