コード例 #1
0
ファイル: Game.cs プロジェクト: StarikovSergey/tetris
        RenderingConsole Render = new RenderingConsole();  //отрисовщик


        public Figure[] CreateArrFigure()
        {
            FigureI figureI = new FigureI();                    //фигуры
            FigureJ figureJ = new FigureJ();
            FigureL figureL = new FigureL();
            FigureO figureO = new FigureO();
            FigureS figureS = new FigureS();
            FigureT figureT = new FigureT();
            FigureZ figureZ = new FigureZ();

            Figure[] arrFigures = new Figure[] { figureI, figureJ, figureL, figureO, figureS, figureT, figureZ }; //массив фигур
            return(arrFigures);
        }