Exemplo n.º 1
0
 /// <summary>
 /// 尝试自动下船
 /// </summary>
 /// <param name="region"></param>
 public void tryLand(MapRegion region)
 {
     debugLog("tryLand");
     if (!isTake() || isFreezing())
     {
         return;
     }
     if (boardFlag && landingRegions.Contains(region) &&
         removeAllPassengers())
     {
         boardFlag = false;
     }
 }