Пример #1
0
        public static void placeMine(Mine m, Player p, Level l, ushort[] loc)
        {
            try
            {
                Mines.Add(m);

            }
            catch { }
        }
Пример #2
0
 public static void deleteMine(Mine m, Player p, Level l, ushort[] loc, bool silent)
 {
     try
     {
         Mines.Remove(m);
         l.SetTile(loc[0], loc[1], loc[2], Block.air);
         if (!silent) p.SendMessage("Mine defused.");
     }
     catch { }
 }