示例#1
0
 public void RemoveDigDesignation(Voxel vox)
 {
     if (DigDesignations.ContainsKey(vox.QuickCompare))
     {
         DigDesignations.Remove(vox.QuickCompare);
     }
 }
示例#2
0
        public bool IsDigDesignation(Voxel vox)
        {
            GamePerformance.Instance.TrackValueType <int>("Dig Designations", DigDesignations.Count);

            return(DigDesignations.ContainsKey(vox.QuickCompare));

            /*
             * for (int i = 0; i < DigDesignations.Count; i++)
             * {
             *  if (DigDesignations[i].Vox.IsSameAs(vox)) return true;
             * }
             * return false;
             * */
        }