public void Rotate() //旋转 { curBrick.RotateTestMod(); //旋转测试模式 if (!Intersect()) { curBrick.ChangeMod(); curBrick.shape2 = (curBrick.shape2 + 1) % 4; } //this.shape++; //shape = shape % 4; }
public void Rotate() //旋转 { curBrick.RotateTestMod(); //旋转测试模式 if (!Intersect()) { curBrick.ChangeMod(); } }