帮我看一下怎么改
public static void Sokoban() /*推箱子*/
{
restart:
Console.ForegroundColor = ConsoleColor.White;
Console.Clear();
int[,] Map;
int _4x, _4y;
int XLength, YLength;
int Isnumber;
//选择关卡页面
Console.WriteLine("\n\t\t\t\t >> 选择 关卡 <<\n\n\t\t\t\t【Enter】默认套装[ 1 ]\n");
Console.WriteLine("\t\t\t\t\t[ 1 ] \n");
Console.WriteLine("\t\t\t\t\t[ 2 ] \n");
Console.Write("\t\t\t\t ");
string xuanZe = Console.ReadLine();
switch (xuanZe)
{
case "1":
one://0空气,1墙壁,2箱位,3箱子,4玩家,5箱位上的箱子,6箱位上的玩家
Map = new int[7, 10] {
{ 0,1,1,1,1,1,1,1,0,0},
{ 0,1,0,0,0,0,0,1,1,1},
{ 1,1,3,1,1,1,0,0,0,1},
{ 1,0,4,0,3,0,0,3,0,1},
{ 1,0,2,2,1,0,3,0,1,1},
{ 1,1,2,2,1,0,0,0,1,0},
{ 0,1,1,1,1,1,1,1,1,0}};
Isnumber = 4;
XLength = Map.GetLength(0);
YLength = Map.GetLength(1);
_4x = 3;
_4y = 2;
break;
case "2":
Map = new int[8, 10] {
{ 0,0,0,1,1,1,1,1,1,1},
{ 0,0,1,1,0,0,1,0,4,1},
{ 0,0,1,0,0,0,1,0,0,1},
{ 0,0,1,3,0,3,0,3,0,1},
{ 0,0,1,0,3,1,1,0,0,1},
{ 1,1,1,0,3,0,1,0,1,1},
{ 1,2,2,2,2,2,0,0,1,0},
{ 1,1,1,1,1,1,1,1,1,0}};
Isnumber = 5;
XLength = Map.GetLength(0);
YLength = Map.GetLength(1);
_4x = 1;
_4y =