blockPosition.X = MathHelper.Clamp(blockPosition.X,0, Window.ClientBounds.Width - blockTexture.Width);//這裡的意思是,把方塊的X軸坐標限制在遊戲屏幕之內