Пример #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();
 }
Пример #2
0
 public Life(Pattern.PatternTy patternTy)
 {
     pattern = Pattern.getPattern(patternTy);
 }