private bool InitPutBlock(InitBlockInfo initBlock) { IBlock block = GetBlockByValue(initBlock.value); if (block != null) { if (block.CanFit(initBlock.points)) { ground.Fill(initBlock.points, block.value); blocks = blocks.CreateBlocksExcludeIndex(block); return(true); } } return(false); }
private bool InitPutBlockSp(InitBlockInfo initBlock) { ground.SetInitBlockInfoSp(initBlock); return(true); }