Example #1
0
 public static NextPacks ReadNextPacks(TextReader reader, int n, int t, int s)
 {
     NextPacks np = new NextPacks(n, t);
     for (int i = 0; i < n; i++)
     {
         Field f = Field.ReadPack(reader, t, s);
         np.SetPack(f, i);
     }
     return np;
 }
Example #2
0
 public GameModel(GameSetting setting, NextPacks next, MainField main)
 {
     Setting = setting;
     Next = next;
     Main = main;
 }