Ejemplo n.º 1
0
 public Block(BlockType type, Position position)
 {
     rotationIndex   = 0;
     Position        = position;
     blockType       = type;
     BlockMatrix     = blockType.Rotation(rotationIndex);
     BlockMatrixSize = blockType.BlockDimension();
     BlockRotations  = blockType.BlockRotations();
 }