Beispiel #1
0
        public void SetNewBlock(BlockParams blockParams, bool onlyLogicSetup = true)
        {
            Block = new Block(blockParams, this);
            if (Block != null)
            {
                IsEmpty = false;
            }

            if (onlyLogicSetup)
            {
                return;
            }
            _boardsBridge.VisualActionSetNewBlock(_boardPos, Block);
        }
Beispiel #2
0
 public void Init(Block block)
 {
     _blockLink   = block;
     _blockParams = block.BlockParams;
 }