Пример #1
0
 public void Construct(Block.Factory blockFactory, IBlockSizeSetter blockSizeSetter, IBlockSlicer blockSlicer)
 {
     _blockSlicer = blockSlicer;
     _blockSlicer.BlockPositionChanged += OnBlockPositionChanged;
     _blockFactory    = blockFactory;
     _blockSizeSetter = blockSizeSetter;
 }
Пример #2
0
 public BlockSlicer(IBlockSizeSetter blockSizeSetter)
 {
     _blockSizeSetter = blockSizeSetter;
 }