예제 #1
0
        public LiveCell(int X, int Y, pushQueue push)
        {
            this.X = X;
            this.Y = Y;

            this.push = push;
            push(this);
        }
예제 #2
0
        protected Epoch(int width, int height)
        {
            cells      = new ICell[width, height];
            queueCells = new List <ICell>();
            push       = new pushQueue(pushQueue);

            cells[4, 3] = new LiveCell(4, 3, push);
            cells[4, 4] = new LiveCell(4, 4, push);
            cells[4, 5] = new LiveCell(4, 5, push);
            cells[4, 6] = new LiveCell(4, 6, push);
            cells[4, 7] = new LiveCell(4, 7, push);
        }
예제 #3
0
 public FutureCell(int X, int Y, pushQueue push)
 {
     this.X = X;
     this.Y = Y;
     push(this);
 }