public void LoadDeckFromDB() { Debug.Log("Drawing Cards for the Deck"); deck = new Deck(); List <string> words = SqliteApi.GetRandomWords(); for (int i = 0; i < words.Count; i++) { deck.Add(new Card(words[i])); } Debug.Log("Words in Deck: " + String.Join(", ", words.ToArray())); }
private void LoadKeyCardFromDB() { Debug.Log("Drawing KeyCard"); deck = new Deck(); keyCard = SqliteApi.GetRandomKeyCard(); }