Example #1
0
 private static void initLife()
 {
     drawTable(Pattern.getPattern(Pattern.PatternTy.TYPE_1));
     life       = new Life(Pattern.PatternTy.TYPE_1);
     lifeThread = new LifeThread(getProgramContext(), life, Pattern.PatternTy.TYPE_1);
     lifeThread.startThread();
 }
Example #2
0
 public void onLifeCreated(Life life)
 {
     ////lifeThread.joinThread();
     Console.Clear();
     drawTable(life.getLife());
     lifeThread = new LifeThread(getProgramContext(), life, Pattern.PatternTy.TYPE_1);
     lifeThread.startThread();
 }