Ejemplo n.º 1
0
        public PositionDrawUpdate(Texture2D b)
        {
            tet              = new Tetromino();
            TetBlock         = b;
            tet.currentBlock = tet.createBlock();
            size             = tet.currentBlock.GetLength(0);

            //for (int i = 0; i < size; i++)
            //    for (int j = 0; j < size; j++)
            //    {
            //        spriteposition.X = i * TetBlock.Width + 12 + 4 * TetBlock.Width;
            //        spriteposition.Y = j * TetBlock.Height + 20;
            //    }
        }