private void ProcessUnderlyingItem(TetrisGame game, TetrisGame.AddToUnderlyingEventArgs e) // 处理道具下落时的效果 { if (game.Block is TonItemBlock) { var j = game.Block.RPos; for (; j < e.block.RPos + e.block.Width; j++) { for (var i = 0; i < game.Block.LPos; i++) { game.UnderLying[i, j] = null; } } game.ClearBlock(); } if (game.Block is ItemBlock) { game.ClearBlock(); } }