public bool Drop() { bool flag = false; curBrick.MoveTestMod(); curBrick.MoveTestDown(); if (!Intersect()) { flag = true; curBrick.ChangePos();//改变位置 } else { curBrick.InitialtPos(); } return(flag); }
public bool Drop() { bool flag = false; curBrick.MoveTestMod(); curBrick.MoveTestDown(); if (!Intersect()) { //显示当前方块的XY坐标 //frm1.label3.Text = curBrick.Pos.X.ToString() + "," + curBrick.Pos.Y.ToString(); flag = true; curBrick.ChangePos();//改变位置 } else { curBrick.InitialtPos(); } return(flag); }