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(); }
public void onLifeCreated(Life life) { ////lifeThread.joinThread(); Console.Clear(); drawTable(life.getLife()); lifeThread = new LifeThread(getProgramContext(), life, Pattern.PatternTy.TYPE_1); lifeThread.startThread(); }