public void testClass() { List <String> games = r.getGames(); foreach (String st in r.getHands(games[0])) { Console.WriteLine(st); } foreach (String str in r.actualHand) { Console.WriteLine(str); } }
public List <String> getReplay(Replay.action act, String str) { List <String> result = new List <string>(); switch (act) { case Replay.action.game: rep = new Replay(str); result = rep.getGames(); break; case Replay.action.hand: result = rep.getHands(str); break; } return(result); }
public List<String> getReplay(Replay.action act, String str) { List<String> result = new List<string>(); switch(act){ case Replay.action.game: rep = new Replay(str); result = rep.getGames(); break; case Replay.action.hand: result = rep.getHands(str); break; } return result; }