internal static DangerTile Convert(LuaDangerTile luaDangerTile)
        {
            DangerTile temp = null;

            try
            {
                BasicTile t = LuaHelp.PointToTile(luaDangerTile.tile);
                temp = new DangerTile(t, luaDangerTile.function);
            }
            catch (Exception)
            {
                return(null);
            }
            if (temp != null)
            {
                if (temp.callFunction == null)
                {
                    //return null
                }
                return(temp);
            }
            return(null);
        }
 private static void Reset()
 {
     bGenerateLuaTurnInfo = true;
     dangerTiles.Clear();
     DangerTile.Reset();
 }
 internal static void AddDangerTile(DangerTile dt)
 {
     dangerTiles.Add(dt);
 }