//修改 public void MoveBoat() { if (judgeCtr.Flag == -1 || judgeCtr.Flag == 1) { return; //lock } if (boatCtr.isEmpty()) { return; } //boatCtr.Move(); actionController.BoatMove(boatCtr); boatCtr.SetPos(); userGUI.status = judgeCtr.judgeGameOver(); }