public void RemoveDigDesignation(Voxel vox) { if (DigDesignations.ContainsKey(vox.QuickCompare)) { DigDesignations.Remove(vox.QuickCompare); } }
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; * */ }