/// <summary> /// Removes a grenade from the list. /// </summary> public static void Unregister(Grenade grenade) { if (_list.Contains(grenade)) { _list.Remove(grenade); } }
/// <summary> /// Adds a grenade to the list. /// </summary> public static void Register(Grenade grenade) { if (!_list.Contains(grenade)) { _list.Add(grenade); } }