public void Init()
        {
            var obj = new GameObject();

            _decks = obj.AddComponent <PlayerDeckFactory>();
            _decks.ContainerPrefabs = new GameObject().AddComponent <CardContainer>();
            _decks.Init();
        }
Exemplo n.º 2
0
 public PlayerDeckCreatingSystem(Contexts contexts, PlayerDeckFactory decks)
 {
     _context   = contexts.game;
     _cardDecks = decks;
 }