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

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