//конструктор public NextFigure(INextFigure figure) { this.figure = figure; queue = new Queue<int>(); rand = new Random(); queue.Enqueue(rand.Next(0,7)); }
//конструктор public NextFigure(INextFigure figure) { this.figure = figure; queue = new Queue <int>(); rand = new Random(); queue.Enqueue(rand.Next(0, 7)); }