Beispiel #1
0
        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);
            }
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
 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;
 }